相关疑难解决方法(0)

Python"IOError:[Errno 22]无效参数"使用cPickle将大型数组写入网络驱动器时

编辑:根据JF Sebastian的建议,我可以更简单地得到同样的错误:

Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 0.10 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

  Welcome to pylab, a matplotlib-based Python environment.
  For more information, type 'help(pylab)'.

In [1]: open(r'c:\test.bin', 'wb').write('a'*67076095)

In [2]: open(r'c:\test.bin', 'wb').write('a'*67076096)

In [3]: …
Run Code Online (Sandbox Code Playgroud)

python pickle nas ioerror

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

ioerror ×1

nas ×1

pickle ×1

python ×1