包管理 import debug 模块管理 module

import sys, os

this_file_abspath = os.path.dirname(os.path.abspath(__file__))
ProjectUtil_path = '{}{}{}'.format(this_file_abspath, os.sep, 'ProjectUtil')
sys.path.append(ProjectUtil_path)
from a import *
from PackagesSubDir.b import fb

  

原文地址:https://www.cnblogs.com/rsapaper/p/9081981.html