发布时间:2019-09-10 08:47:24编辑:auto阅读(4095)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
51929
51699
42018
38857
33345
30315
28954
23969
23885
22251
377°
2588°
3260°
2712°
2700°
3427°
2656°
3494°
5759°
5536°