📜  python 将字符串转换为路径 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:08.243000             🧑  作者: Mango

代码示例1
from pathlib import Path
str_path = "my_path"
path = Path(str_path)