发布时间:2019-09-10 08:47:24编辑:auto阅读(4482)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
55119
41919
36502
31906
26813
26483
25022
20645
16553
15965
3179°
2876°
2969°
3120°
3054°
3328°
3227°
3058°
3050°
3029°