[L5] Solution works with Python 3.3, but not 3.4

已查看 1,499 次
跳至第一个未读帖子

Roddy MacSween

未读,
2014年12月28日 13:07:392014/12/28
收件人 python-c...@googlegroups.com
I managed to get the right answer using IDLE and Python 3.3, but IDLE for Python 3.4 came up with an error about opcodes when unpickling. Does anyone know why this is?

Chris Wood

未读,
2015年4月2日 21:01:472015/4/2
收件人 python-c...@googlegroups.com
You might try using the "fix_imports" keyword arg, like so...

pickle.load(file_handler, fix_imports=True )
回复全部
回复作者
转发
0 个新帖子