小编Shw*_*chk的帖子

如何通过运行'python ...'从shell启动ipython?

我想在python启动代码中添加一些命令行选项,以便实际调用ipython shell.我怎么做?

python shell command-line ipython python-3.x

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

什么是正确的处理方式(在python中)IOError:[Errno 4]由多处理引发的系统调用中断.Queue.get

当我使用multiprocessing.Queue.get时,由于EINTR,我有时会得到一个异常.

我肯定知道有时这种情况没有任何理由(我在tmux buffr中打开另一个窗格),在这种情况下我想继续工作并重试该操作.

我可以想象,在其他一些情况下,错误是由于一个很好的理由,我应该停止运行或修复一些错误.

我该如何区分这两者?

提前致谢

python queue error-handling multiprocessing ioerror

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