Is pickle file of python cross-platform?

前端 未结 6 1798
攒了一身酷
攒了一身酷 2020-11-28 12:54

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 work

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 13:26

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

提交回复
热议问题