Python and Tkinter: Calling main()
Friday November 21, 2008
After creating the main function of our Tkinter program, we still have one more step left to do. Even the best written function or class is useless until it is called. In the final step of our guide to Python and Tkinter, we check whether the program is called directly and, if so, execute the main function. To see how, check out "Calling main()". To see why we call it so, check out "What's in a Name?".
"Calling main()" is the last step in the series "'Hello, World!' in Python With Tkinter". If you have missed any of the steps along the way, you can catch up by starting with "A Word on Tkinter and GUI Toolkits".
"Calling main()" is the last step in the series "'Hello, World!' in Python With Tkinter". If you have missed any of the steps along the way, you can catch up by starting with "A Word on Tkinter and GUI Toolkits".
