yuanqiangfei
import os
path=\'file.txt\'
file=os.path.splitext(path)
filename,type=file
print(filename)
print(type)

 

 

  

分类:

技术点:

相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2022-01-05
  • 2021-09-07
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-10-20
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案