python3 pathlib库中的Path类的使用

调用库

from pathlib import Path

 获取 Path 的文件名

Path.name

 

 

参考

https://blog.csdn.net/amanfromearth/article/details/80265843

 

posted on 2019-10-16 16:13  0820LL  阅读(274)  评论(0编辑  收藏  举报

导航