发布时间:2019-09-10 08:47:24编辑:auto阅读(4035)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
51565
51145
41663
38420
32905
29880
28599
23559
23492
21837
1987°
2695°
2261°
2186°
2637°
2202°
2949°
4884°
4716°
3357°