[EMAIL PROTECTED]: >I have a python script that pickles and unpickles a give object. It >works without any problems on windows (the data was pickled on windows >first). But when I try to run the script on Linux, I get the following >error: [...] >ImportError: No module named __main__
There are some posts in the Usenet archive that suggest you need to open the pickled file in binary mode. http://groups.google.nl/group/comp.lang.python/browse_frm/thread/2da0dcfc0a414251/0885a7a5723f3b03 -- René Pijlman -- http://mail.python.org/mailman/listinfo/python-list