python-application-alt is an alternative to python-application.
A set of classes that handle this for you:
command-line options, it come with pre-defined --help and --debug. you can add your own options. logging facility config file facility temporary directory to read/write file safely lock file to prevent multiple instance to run simultaneously
These details are provided for information only. No information here is legal advice and should not be used as such.