如果執行檔案為E:\aa\bb\aa.py. 1.獲取當前路徑. current_path11 = os.path.abspath(__file__). current_path12 = os.path.realpath(__file__).
確定! 回上一頁