data persistent from run
Jeff Shannon
jeff at ccvcorp.com
Thu Mar 14 20:28:59 EST 2002
Bob Roberts wrote:
> What is the best way to keep data like window size and position for
> the next time I run the program? I know in win2k, stuff like that is
> usually stored in the registry. Are there any python commands to
> store such information in a platform-independent manner?
IIRC, there's a ConfigParser module in the standard library, that should
do what you want. If you're using wxPython, it also includes a wxConfig
class, which is what I've used.
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list