Here's an alternative using glob.from pathlib import Pathrootdir ... for root, dirs, files in os.walk(rootdir): for file in files:
確定! 回上一頁