Alex Rivera | Logout

Is pickle file of python cross-platform?

Asked 2009-12-04T20:39:58.407
23

I have created a small python script of mine. I saved the pickle file on Linux and then used it on windows and then again used it back on Linux but now that file is not working on Linux but it is working perfectly on windows. Is is so that python is coss-platform but the pickle file is not. Is there any solution to this one???

Edit
Report

1 Answer

4

Maybe you don't open the file in binary mode? See this stackoverflow question

answered 2009-12-04T20:46:38.800

Your Answer