To get the parent directory of a file or directory in Python we can use modules os or pathlib: * os.path * Path(file_path).parent ...
確定! 回上一頁