for filename in os.listdir(directory): ... from pathlib import Path. # assign directory ... for root, dirs, files in os.walk(directory):.
確定! 回上一頁