1. 简单地导入自己写的.py文件
参考:https://jingyan.baidu.com/article/08b6a591810daf14a8092204.html
2. 将自己写的多个.py文件封装成外部包,加入__init__.py
1. 简单地导入自己写的.py文件
参考:https://jingyan.baidu.com/article/08b6a591810daf14a8092204.html
2. 将自己写的多个.py文件封装成外部包,加入__init__.py
转载于:https://www.cnblogs.com/yuyongsheng1990/p/9407731.html