pythonCopy import os print(os.path.dirname(os.path.realpath(__file__))). 輸出: textCopy C:\Sample\Python. 為了得到當前的工作目錄,我們可以 ...
確定! 回上一頁