首页 > 其他 > 详细

unresolved refrence 'execfile'……

时间:2017-01-01 10:09:01      阅读:226      评论:0      收藏:0      [点我收藏+]

unresolved refrence ‘execfile‘……

字面意思是execfile这个东东没有被解析

难道是没有import相应的lib?

 

python docs

3.x:

Removes usage of execfile(). The argument to execfile() is wrapped in calls to open(), compile(), and exec().

针对execfile的使用在3.x中被替换成 open,compile和exec

 

PS:python不能向下兼容,据说2.7版本支持的第三方比较好

python是拍脑袋拍出来的吗?

 

那么odoo10.0建议用什么版本的python呢?

see:http://www.cnblogs.com/qianheng/articles/6236963.html

unresolved refrence 'execfile'……

原文:http://www.cnblogs.com/qianheng/p/6240735.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!