会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
持&恒
博客园
首页
新随笔
联系
订阅
管理
2018年7月11日
python之from 和import执行过程分析
摘要: 原文链接:http://blog.csdn.net/lis_12/article/details/52883729 问题1 同一个目录下,有两个Python文件,A.py,B.py why? from B import D的执行机制 可以利用sys.modules查看是否包含B模块,如查看os模块,
阅读全文
posted @ 2018-07-11 17:18 持&恒
阅读(10610)
评论(0)
推荐(0)
编辑
公告