可用于Python自定义模块的跨目录调用
#返回自身文件的绝对路径
os.path.abspath(__file__)
#返回上级目录
os.path.dirname( os.path.abspath(__file__)
#返回上上级目录
os.path.dirname(os.path.dirname( os.path.abspath(__file__))
#查看环境变量
sys.path
#添加环境变量
sys.path.append(BASE_DIR)