发布时间:2019-09-10 08:47:24编辑:auto阅读(3904)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
49235
48403
39124
36222
30635
27441
26433
21266
21111
19461
75°
280°
277°
381°
609°
424°
1112°
1096°
1085°
1079°