pickling from C

Max Khesin max at cNOvSisiPonAtecMh.com
Mon Jun 9 23:12:06 CEST 2003


Thanks David,
btw, your book is supposed to be on its way from Amazon. I hope it comes
fast...

--
========================================
Max Khesin, software developer -
max at cNvOiSsPiAoMntech.com
[check out our image compression software at www.cvisiontech.com, JBIG2-PDF
compression @
www.cvisiontech.com/cvistapdf.html]


"Lulu of the Lotus-Eaters" <mertz at gnosis.cx> wrote in message
news:mailman.1055189121.3400.python-list at python.org...
> "Max Khesin" <max at cNOvSisiPonAtecMh.com> wrote previously:
> |I am exploring a possibility of having a c++ module write files in pickle
> |format to be later processed with python. How difficult is this to do?
> |(let's say all I need to write are some string-to-in-list dictionaries).
Is
> |there a project to do this somewhere?
>
> Probably not outrageously hard... but I imagine it would be even easier
> to use YAML as a format.  If you use the Syck C library (which has a
> Python binding), you can even do the reading and writing quite quickly.
> And the intermediate format is quite a bit more readable than are
> pickles (which may not be necessary, but cannot hurt).
>
> To an extent, I could recommend gnosis.xml.pickle for the same reasons.
> But other than for XML buzzword-compliance, YAML is almost always
> better (smaller data files, faster, etc).
>
> --
> ---[ to our friends at TLAs (spread the word) ]--------------------------
> Echelon North Korea Nazi cracking spy smuggle Columbia fissionable Stego
> White Water strategic Clinton Delta Force militia TEMPEST Libya Mossad
> ---[ Postmodern Enterprises <mertz at gnosis.cx> ]--------------------------
>
>






More information about the Python-list mailing list