发布时间:2019-09-10 08:47:24编辑:auto阅读(4397)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
54474
41254
35795
31319
26223
25936
24437
20006
16015
15450
2366°
2157°
2248°
2376°
2332°
2544°
2490°
2313°
2380°
2356°