摘要: 使用 os.path.splitext(file)[0] 可获得 文件名 。使用 os.path.splitext(file)[-1] 可获得以 . 开头的 文件后缀名 。 阅读全文
posted @ 2021-01-30 10:37 小毛编 阅读(172) 评论(0) 推荐(0) 编辑