发布时间:2019-09-10 08:47:24编辑:auto阅读(3884)
import os
path='file.txt'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)
点击打开链接 Python资料汇总
上一篇: 【Python】python之π的计算
下一篇: 浅谈simhash及其python实现
48924
48033
38797
35921
30341
27119
26124
20957
20780
19138
654°
733°
704°
699°
674°
637°
737°
819°
932°
1149°