男 | 程序猿一只,喜欢编程写python代码。 在多个开源项目中,我看到人们通过 os.path.abspath(os.path.realpath(__file__)) 获得当前文件的绝对路径。
確定! 回上一頁