def main(): """Start the program.""" toolbox = Toolbox() toolbox.process_command_line_arguments() # This will also run the graphical interface return_code = toolbox.run() print(f"Main: exiting gracefully (return code={return_code}).") sys.exit(return_code)