Hi Ken,

On 3 January 2012 01:24, Alan Gauld <alan.ga...@btinternet.com> wrote:
>>> If you to store the data permanently, it has to go into a file. I
>>> suggest you learn about INI files to start with. Start by googling for
>>
>> Okay, thanks. I will look into it. Have not heard of INI file format.
>
>
> It's a Microsoft text file format invented for use on Windows but
> in fact is applicable to any kind of data stoorage with one or
> two levels of key.

Just to add:  The Python "ConfigParser" class, in the configparser
module, that is part of the Python standard library, allows you to
easily interact with INI file like files.  See here:
http://docs.python.org/library/configparser.html
http://wiki.python.org/moin/ConfigParserExamples

There is also ConfigObj, which is superior to ConfigParser and amongst
other things allows nested sections to any depth (limited by what the
machine allows of course;) ):
http://www.voidspace.org.uk/python/configobj.html
http://www.voidspace.org.uk/python/articles/configobj.shtml

All of that said, I'm slightly worried about your spreadsheet issues
-- you should not be having such issues really...   Perhaps you should
consider updating/upgrading your system or try to figure out why OOO
is giving yous so much trouble?  Re-inventing what you have in yoru
spreadsheet by means of INI files seem slightly the wrong way to solve
your stated problem somehow! :)

Cheers,

Walter
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to