Python File Processing Automation

Замовник: AI | Опубліковано: 25.12.2025

I need a small, self-contained Python script that can take a folder full of files, run a repeatable set of actions on each one, and drop the results in a destination directory with clear logging along the way. The core flow is: • detect all files in a chosen input path • process each file (open → transform or rename as discussed) • write the new version to an output path, keeping the original untouched • generate a concise log or CSV report of everything the script touched Please keep the code readable, comment the main blocks, and avoid hard-coded paths so I can point the script at different folders from the command line. If your solution needs common libraries such as pathlib, shutil, pandas, or argparse that’s fine—just list them in a short README and add a requirements.txt. Deliverables • Python 3 script (.py) • brief usage notes (README or docstring) • sample log/report proving it ran successfully on your test set I’ll consider the job complete once the script runs on my machine, processes a batch of files without errors, and produces the expected output and log.