假如你要导入当前程序同级目录下的 config.py 文件你应该如下操作:
import Config # 建议使用这种,然后使用 Config.xxx 进行调用# 或者from Config import *