標籤:span path abs ack sep getc python 獲取檔案 ffffff. import os. # 當前檔案的路徑. 1、os.getcwd();. 2、os.path.realpath(__file__). # 當前檔案的父路徑.
確定! 回上一頁