os.path.splitext(path)

 

分割路径,返回路径名和文件扩展名的元组

posted @ 2020-11-23 20:43  闪耀虫蝗  阅读(168)  评论(0)    收藏  举报