我正在 Plone 5 中编写 Python 脚本以获取网站某些页面的内容,并在导入 Python 库时遇到此错误 Insufficient Privileges。有办法解决这个问题吗?
另外,这里有没有办法使用 raw_input() python 函数,因为现在它不识别该函数? 谢谢!
请您参考如下方法:
所以有一个答案...
通过网络 Python 脚本运行沙盒 python 解释器,并在您尝试导入可能不安全的代码时抛出未经授权的错误。
参见 http://docs.plone.org/develop/plone/security/sandboxing.html
