发布时间:2019-09-10 08:47:24编辑:auto阅读(4463)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
54945
41737
36324
31762
26659
26347
24874
20483
16421
15839
2962°
2696°
2797°
2940°
2873°
3136°
3028°
2876°
2865°
2840°