Andreas Kostyrka wrote: > * Magnus Wirström <[EMAIL PROTECTED]> [070201 14:38]: >> Hi everyone >> >> I'm learning to program python with wxpython gui. I have a application i >> made with several modules and i want to implement a configfile that >> applies to all those modules. Is there an easy way to do this ? Can >> anyone point me in the right direction ? > > Depending upon your tastes: > > ConfigFile => win.ini style config files. > shlex => unix shell script style parsing.
You can also use a python module as a shared config; just define whatever values you want in Python code and import the module where you need it. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor