if __name__ == "__main__": ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) SRC_PATH = os.path.join(ROOT_PATH, 'src') CONF_PATH = os.path.join(ROOT_PATH, 'conf ...
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 ...