摘要:
1.要多次导入,默认的import 只导入一次。 from imp import reload reload(script1) reload是不可传递的 2. 使用exec运行模块文件 exec(open('script1.py').read()) 字符串 '{0},eggs,and {1}'.format('spam','SPAM') hex(int ) oct(int )... 阅读全文
posted @ 2014-08-10 18:25
anjsxz
阅读(112)
评论(0)
推荐(0)

浙公网安备 33010602011771号