These last lines invoke the main program, Section 7, “main(): The main program”.
main()
if __name__ == '__main__': main()