提取父檔案路徑. 方法名: .parent. from pathlib import Path path_str = Path(r"/usr/HinGwenWoong/demo.py") path_parent_path = path_str.parent ...
確定! 回上一頁