你可以使用 os 模組在 Python 中更改目錄或 cd。它將你想要切換到的目錄的相對/絕對路徑作為輸入。
>>> import os >>> os.chdir('my_folder')
917 閱讀
完成該課程,獲得認證