I've written a Python utility that's ready to be packaged and distributed to our servers, but I don't know the best method for setting a file path in the script. My script scans through Apache config ...
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).