473,320 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ini files and plugins

Hi,
I've made a basic LaTeX file editor in wxPython, but now I wanted to add
it some features :

1 - create a sort of ini file where I can put the user configuration
that will load itself on the application startup ;
2 - a simple plugin system with python files ( maybe to add new
langages, etc.) ;

I'm looking for simple articles, modules or code snippets on these
subjects;
thanks,
6TooL9
Nov 16 '06 #1
4 1201
"tool69" wrote:
1 - create a sort of ini file where I can put the user configuration
that will load itself on the application startup ;
http://docs.python.org/lib/module-ConfigParser.html ?
2 - a simple plugin system with python files ( maybe to add new
langages, etc.) ;
http://effbot.org/zone/import-string.htm ?

</F>

Nov 16 '06 #2
Fredrik Lundh a écrit :
"tool69" wrote:
>1 - create a sort of ini file where I can put the user configuration
that will load itself on the application startup ;

http://docs.python.org/lib/module-ConfigParser.html ?
>2 - a simple plugin system with python files ( maybe to add new
langages, etc.) ;

http://effbot.org/zone/import-string.htm ?

</F>
Thanks Fredrik, I'll take a look.
Nov 16 '06 #3
On 11/16/06, tool69 <ki**@free.frwrote:
Hi,
I've made a basic LaTeX file editor in wxPython, but now I wanted to add
it some features :

1 - create a sort of ini file where I can put the user configuration
that will load itself on the application startup ;
wxPython includes a configuration management system, it's a bit more
powerful and flexible than just using ConfigParser. See the wx.Config
classes (I believe theres some code in the demo as well)
2 - a simple plugin system with python files ( maybe to add new
langages, etc.) ;

I'm looking for simple articles, modules or code snippets on these
subjects;
thanks,
6TooL9
--
http://mail.python.org/mailman/listinfo/python-list
Nov 16 '06 #4
tool69 <ki**@free.frwrote:
>I've made a basic LaTeX file editor in wxPython, but now I wanted to add
it some features :
^^^^^^^^
>1 - create a sort of ini file where I can put the user configuration
that will load itself on the application startup ;
wx.Config? (If it absolutely has to be a .ini file on Windows,
not the registry, you can force that if you want.)

--
\S -- si***@chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
Nov 16 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Aurélien Géron | last post by:
Hi, I'd like to write a simple portable browser plugin for Internet Explorer, Netscape and if possible other navigators too. Is there a way to do that using Python? For now I'd like to develop...
4
by: stu_pb | last post by:
I am designing a plugin system for a window application using .NET(C# specifically). One of the requirements of the plugin system is to be able to dynamically load/unload plugins. My initial...
5
by: Christoph Haas | last post by:
Dear coders... I'm working on an application that is supposed to support "plugins". The idea is to use the plugins as packages like this: Plugins/ __init__.py Plugin1.py Plugin2.py...
5
by: Michael McCarthy | last post by:
I want to develop plugin support for a system.montitor module I am working on. A lot of the modules will do mostly interop stuff for an older system, but I want to use it myself as well to monitor...
0
by: Greg Conely via .NET 247 | last post by:
I am creating a application that will be using plugins. I am doing this so that when I want to let this application work with another type of dbase system, I only have to write\install one plugin,...
2
by: ThisBytes5 | last post by:
I am currently working on an application that uses plugins. When I publish my application as a click once app I would like to include all of the current plugins in the install. Currenly I don't see...
20
by: Stephen Kellett | last post by:
Hi Folks, How can I play midi and/or audio files using JavaScript? I'm hoping there are some calls/APIs I can use that I am unaware of. My JavaScript book from O'Reilly seems rather lacking in...
1
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
7
by: Laurent Navarro | last post by:
Hello, I created a software some times ago, which uses some plugins to work (which I coded also). I had problems to load those plugins as they used some classes and functions which were...
0
by: Arek | last post by:
Hi, I'm porting application from C++ to C#. This application has several plugins (DLL files). All plugins are using same interface (IPlugin) and have function which returns pointer to this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.