plone3里标准模块import到Python2.4的问题

zhouxiaoju 2009-02-13 10:33:00
Hi,

i have installed a plone 3 in my person computer and want to write some python to create/edit/detlete some cobject instance in the plone site, but when i run some example, got follow error:

from AccessControl import ClassSecurityInfo
ImportError: cannot import name ClassSecurityInfo

my AccessControl.py is in "C:\Program Files\Plone 3\Zope\lib\python\Products\OFSP\help" and more i
can't find function ClassSecurityInfo in AccessControl.py.

What i can do to resolve it? Download another AccessControl or something didn't be installed properly?

Thanks in advance.

Rgs,
Daisy
...全文
59 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
weskiter48 2009-02-14
  • 打赏
  • 举报
回复
up
netsocket 2009-02-14
  • 打赏
  • 举报
回复
up

37,719

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧