from pathlib import Path path = Path('/etc') 目前,我只知道以下內容,但這似乎破壞了 pathlib 的想法。 import os os.chdir(str(path)) ...
確定! 回上一頁