主页
Python
后浪云Python教程:python 如何提取文件名
后浪云
2023-1-6
Python
python
获取
文件名
的方法
导入os 模块
使用os.path.basename()
回车之后,即可得到文件名
其他注意事项:
版权声明:
作者:后浪云
链接:https://www.idc.net/help/180643/
文章版权归作者所有,未经允许请勿转载。
THE END
python
文件名