Enterprise software users have operated under the same constraint since the early days of web applications: browser-based ...
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).
"Windows 11, version 24H2 and version 25H2 share the same source code, with only the additional features turned on. Therefore, there should be no impact on compatibility between the two" says ...