首页 > 技术文章 > python+判断图像后缀
wjjcjj 2021-03-17 08:57 原文
f='1.jpg' f.endswith('.jpg') or f.endswith('.jpeg') or f.endswith('.png')