import os, os.path. for root, _, files in os.walk("C:/some/dir"):. for f in files: fullpath = os.path.join(root, f). try: if os.path.getsize(fullpath) < 10 ...
確定! 回上一頁