pathlib 底下有許多類別可供使用,例如WindowsPath , PosixPath , PurePath 等等 ... from pathlib import Path >>> path = Path('/tmp/myfile.txt') ...
確定! 回上一頁