python 导入路径小窍门

以项目结构组织python 项目文件,导入路径用下面这个方法挺好。


sys.path.append(os.getcwd())
import common.auth

猜你喜欢

转载自blog.csdn.net/warm77/article/details/80265248