我想检查一个目录中是否有.rar文件.它不需要递归.
使用带有os.path.isfile()的通配符是我最好的猜测,但它不起作用.那我该怎么办?
谢谢.
python wildcard path
path ×1
python ×1
wildcard ×1