发布时间:2019-09-10 08:47:24编辑:auto阅读(4011)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
51343
50800
41391
38193
32685
29577
28413
23294
23256
21582
1663°
2393°
1995°
1936°
2266°
1968°
2668°
4469°
4301°
3065°