By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,001 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,001 IT Pros & Developers. It's quick & easy.

ini files and plugins

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.