python导入其他文件夹下的.py文件

想在globalpararm中导入read_config中的类

import sys
sys.path.append('..')
from common.read_config import Read_Config

猜你喜欢

转载自www.cnblogs.com/dangkai/p/9066470.html