... files and directories in Python with pathlib module. 5. We find this answer accurate for How do I get the parent directory in Python?. txt" print(os.
確定! 回上一頁