会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Maybach
博客园
首页
新随笔
联系
管理
订阅
2018年5月31日
imp.load_source的用法
摘要: imp.load_source(name,pathname[,file])的作用把源文件pathname导入到name模块中,name可以是自定义的名字或者内置的模块名称。 假设在路径E:/Code/Python3/下有一个文件test.py, 内容如下: [python] view plain c
阅读全文
posted @ 2018-05-31 11:44 Maybach
阅读(826)
评论(0)
推荐(0)
编辑
公告