Python-判断文件后缀

2017-04-16  本文已影响1581人  西博尔
def file_extension(path): 
  return os.path.splitext(path)[1]
上一篇 下一篇

猜你喜欢

热点阅读