glob.glob()不使用正则表达式。它使用 Unix 路径扩展规则。我如何在 glob 中模拟这个正则表达式:
glob.glob()
".*.jpg|.*.png"
python glob
glob ×1
python ×1