Wednesday, January 28, 2015

Module

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
 Reference: www.tutorialspoint.com

No comments:

Post a Comment