file access

Doug Stanfield DOUGS at oceanic.com
Sat Feb 17 13:18:52 EST 2001


[Ben de Luca wrote:]
> > when i write the data to a file whats the best way? I guess 
> there is no way
> > to sumb the dictonaries strait to disk? i will have to parse it?

[Fredrik Lundh suggested:]
 
> http://www.python.org/doc/current/lib/module-pickle.html
> http://www.python.org/doc/current/lib/module-marshal.html

I'd also suggest checking out shelve:

http://www.python.org/doc/current/lib/module-shelve.html




More information about the Python-list mailing list