Based on the comments I realized that pathlib does not help changing directories ... import os from pathlib import Path path = Path('/etc') os.chdir(path).
確定! 回上一頁