If you're new to Linux and the terminal, I can appreciate how difficult it is to learn. Learning Linux was not an easy task.
os.path.join (folder, filename) ensures the path is correct for the system. On Windows, it uses backslashes (reports\summary.txt); on Linux and macOS it uses forward slashes (reports/summary.txt).
Codex gives software developers a first-rate coding agent in their terminal and their IDE, along with the ability to delegate ...