发布时间:2019-09-10 08:47:24编辑:auto阅读(4303)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
53520
40347
34749
30504
25380
25178
23592
18860
15171
14678
1147°
1069°
1139°
1154°
1189°
1347°
1305°
1279°
1379°
1320°