Python 3.14 is officially here, and brings a mix of changes to the core language, the interpreter's guts, and the standard library. These are major updates like template string literals, deferred ...
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).