simple text parser?

Fredrik Lundh fredrik at pythonware.com
Sun Aug 17 13:15:29 EDT 2003


Brandon J. Van Every wrote:

> Alternately, doesn't Python have some kind of automagical serialization
> pack/unpack functionality?  How does that work?

if you don't plan to look at the files, use pickle or marshal.  for details,
see the documentation:

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

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

if you prefer INI-file syntax, use the ConfigParser module:

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

or relevant modules from the XML subsystem:

    http://www.python.org/doc/current/lib/markup.html

</F>








More information about the Python-list mailing list