在Python 中若要查詢或變更目前的工作目錄(current working directory),可以 ... import os # 取得目前工作目錄路徑 path = os.getcwd() # 輸出路徑 print(path)
確定! 回上一頁