发布时间:2019-09-10 08:47:24编辑:auto阅读(4450)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
54830
41613
36197
31649
26551
26253
24779
20365
16321
15743
2828°
2588°
2682°
2826°
2770°
2994°
2908°
2739°
2752°
2722°