import osprint(os.path.abspath(__file__))#abspath 返回文件的绝对路径、__file__文件的相当路径print(os.path.abspath(__file__))#abspath 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交