A module allows you to logically organize your Python code. Grouping
related code into a module makes the code easier to understand and use. A
module is a Python object with arbitrarily named attributes that you
can bind and reference.
One of the example of a module is tkinter module. The tkinter module is a tool for creating gui programs in python.
Source Code: example12.py |
Output: Python Shell - GUI |
No comments:
Post a Comment