发布时间:2019-09-10 08:47:24编辑:auto阅读(4014)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
51346
50809
41402
38201
32693
29585
28417
23302
23258
21590
1667°
2400°
2007°
1943°
2275°
1973°
2678°
4479°
4307°
3071°