IOError:在受限模式下无法访问file()构造函数 [英] IOError: file() constructor not accessible in restricted mode

查看:102
本文介绍了IOError:在受限模式下无法访问file()构造函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试找到这个问题的答案,但是在论坛中找不到它。


IOError:file()构造函数无法访问限制模式意味着什么?


这是给我错误的代码:

展开 | 选择 | Wrap | 行号

解决方案

嗯,Markalon,听起来好像错误信息说明了这一切。


请告诉我们您的操作系统/平台/登录方法为了让我们能够追踪这一点。


欢迎回来,

Barton



嗯,Markalon,听起来好像错误信息说明了这一切。


请告诉我们您的操作系统/平台/登录方法,以便我们跟踪它。


欢迎回来,

Barton


听起来好像错误信息说明了一切?我知道了。嗯,这清除了。我想我应该只是阅读错误信息,而不是在这里询问它是什么意思。


感谢您的帮助。


这是互联网,我无法分辨你是否是滑稽的,或者你真的找到了解决方案,无论哪种方式,看看限制模式的Python文档以及更友好的解释


I''ve tried to find the answer to this one already but couldn''t find it in the forum.

What does IOError: file() constructor not accessible in restricted mode mean?

Here is the code that is giving me the error:

Expand|Select|Wrap|Line Numbers

解决方案

Well, Markalon, it sounds like the error message says it all.

Please tell us your OS/Platform/logon method in order for us to track this down.

Welcome back,
Barton


Well, Markalon, it sounds like the error message says it all.

Please tell us your OS/Platform/logon method in order for us to track this down.

Welcome back,
Barton


It sounds like the error message says it all? I see. Well, that clears that up. I guess I should have just read the error message then instead of asking what it means here.

Thanks for the help.


This is the internet and I cannot tell if you are being facetious or you really have found your solution, either way, take a look at the Python documentation for restricted mode as well as thisfriendlier explanation.


这篇关于IOError:在受限模式下无法访问file()构造函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆