2017年10月11日

【python】imp模块的使用

摘要: 是import在程序中的使用 【一】函数load_source imp.load_source(moduleName, sourceFile) 使用: abc = imp.load_source('def', '/home/fanruoxin/xxx.py') 得到结果: abc是模块的变量名,使用 阅读全文

posted @ 2017-10-11 15:30 yesuuu 阅读(1220) 评论(0) 推荐(0) 编辑

导航