Can I export my datas in pickle format safely ?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Can I export my datas in pickle format safely ?

From: DurumDara <durumdara@gmail.com>
Date: Fri Mar 31 2006 - 16:05:00 CEST

Hi !

I want to create a database from datas.
I want to store my datas in lists/dicts/normal variables.

I thinking about that I can use the pickle to serialize/load my datas
from the file.

But: I remember that in the year of 2004(?) I tried this thing. I store
my CD informations in pickled objects (in files).
And when I changed my python version from ??? to 2.3(?), and I get some
error messages...

So: I want to store datas in the simply as possible, but I don't want to
get error messages in the future, when I upgrade a new python version.

I see that the Gnosis project have pickle tools that can dump objects to
XML.
XML is compatible in any future versions, I can read it, etc.

So. Anyone can help me: pickle module have problems when I want to load
older dumped objects, or I can use it for dev. my application ?
Or any tool I need to use ?

Thanks for the advance:
dd
Received on Sun Apr 30 21:46:51 2006