发布时间:2019-09-10 08:47:24编辑:auto阅读(4100)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
51959
51752
42049
38889
33382
30345
28988
24006
23919
22278
463°
2638°
3336°
2761°
2744°
3518°
2710°
3537°
5837°
5619°