... files = os.listdir(target_dir) count = len(files) total += count ... from pathlib import Path data_root = Path('path/to/directory') ...
確定! 回上一頁