会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
jasmine0627
博客园
首页
新随笔
联系
管理
订阅
2019年1月8日
Python 导入文件问题
摘要: 1、同级目录下调用 若在程序 testone.py 中导入模块 testtwo.py , 则直接使用 【import testtwo 或 from testtwo import *】 2、调用子目录下的模块 若在程序 testone.py 中导入模块 test1_1.py , 则test1文件夹下必
阅读全文
posted @ 2019-01-08 11:06 jasmine0627
阅读(10774)
评论(2)
推荐(2)
编辑
公告