The default Python install on Windows 11 comes packed with a variety of helpful tools and features. After a you successfully install Python on Windows, you should test out Python's built-in REPL tools ...
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).
Package your Python applications for redistribution with one click, no compiling, and almost no additional software.