saving settings

aum aum at spam.me.please
Mon May 29 09:30:20 CEST 2006


On Mon, 29 May 2006 09:05:36 +0200, SuperHik wrote:

> Hi,
> 
> I was wondering how to make a single .exe file, say some kind od clock,
> and be able to save some settings (alarm for example) into the same 
> file? Basically make code rewrite it self...
> 
> thanks!

Yikes!!!

I'd strongly suggest you read the doco for ConfigParser, and load/save
your config file to/from os.path.join(os.path.expanduser("~")).

Another option - save your stuff in the Windows Registry

-- 

Cheers
aum





More information about the Python-list mailing list