Does pickled objects work fine between different OS?

Ross Ridge rridge at csclub.uwaterloo.ca
Wed May 26 12:02:27 EDT 2010


Oltmans  <rolf.oltmans at gmail.com> wrote:
>If I dump a Python dictionary into a file named "data.pkl" using
>Pickle module on a Linux operating system, will the data contained in
>"data.pkl" load fine in a Windows OS? I mean will I be able to load
>the dictionary data contained in "data.pkl" just fine on Windows XP?

That will work just fine.  The only thing that may be a problem is that
if you choose to use the newer pickle format, it won't work with versions
of Python before 2.3.

					Ross Ridge

-- 
 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge at csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  



More information about the Python-list mailing list