Definition: Modules are small pieces of pre-written Python code that you can import into your programs. Using the 'import' command, you can effectively "cut and paste" all or part of a module. Regardless of whether the module is from the Python library or another program, the computer does not see a difference between the module and your program.

