python import自己写的.py文件 1. 简单地导入自己写的.py文件 参考:https://jingyan.baidu.com/article/08b6a591810daf14a8092204.html 2. 将自己写的多个.py文件封装成外部包,加入__init__.py 天狼啸月