from pathlib import Path>>> Path.home() ... for root, subdir, files in os.walk(dirpath): for f in files: if f.endswith(".txt"):
確定! 回上一頁