Is there a library to parse Mozilla "mork" documents?

John Reese jtr at
Thu Jan 20 19:19:03 EST 2005

Mozilla, Firefox, Thunderbird, and so forth use this awful format
called MORK to store all kinds of things: which messages you've read
in a newsgroup, headers and indexes into the mbox file of messages in
a mail folder, and address books.  It's documented to some extent

Does anyone know of a Python library for parsing these files?  A
single file basically just stores the equivalent of a nested
dictionary with text that can be declared separately and interpolated.
jwz has an over-specific perl version at, which I might have to try to
translate if there's nothing already available in Python.

More information about the Python-list mailing list