发布时间:2019-09-10 08:47:24编辑:auto阅读(4093)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
51927
51698
42017
38855
33343
30314
28953
23968
23884
22250
374°
2587°
3259°
2710°
2698°
3426°
2655°
3493°
5754°
5535°