发布时间:2019-09-10 08:47:24编辑:auto阅读(4190)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
52669
52585
42721
39595
33985
30950
29743
24634
24475
22856
203°
214°
279°
266°
300°
458°
436°
449°
520°
444°