preference tree like in jdk 1.4

Stefan Schwarzer s.schwarzer at
Thu Feb 14 15:04:43 EST 2002

Hello Tripp

Tripp Scott wrote:
> i was thinking of an empty function:
> [...]
> to store or load this pref object, just use the pickle mechanism.
> my question is, is there a simpler, more beautiful, elegant way?

If you don't need this more than two levels deep, look at the
ConfigParser module. You can modify its instances also after having
read them and write them to disk, again as a configuration file. :-)


More information about the Python-list mailing list