Locked lesson.
About this lesson
Using third party modules in your code, and creating your own.
Quick reference
Modules
A module is a file that holds Python code which you can import and use.
When to use
Use them whenever you want to add functionality to your code.
Instructions
To see a list of built-in modules that you can use:
- https://docs.python.org/3/py-modindex.html
To create your own modules, just create a file and save it with a .py file extension, then import it to your code:
import MODULNAME
Be sure to save your module file in the same directory that you saved your original program code.
Hints & tips
- https://docs.python.org/3/py-modindex.html
Lesson notes are only available for subscribers.