In this video we go over how to create and use simple modules in Python. Modules allow you to create code in one file and use it in a separate file. This is extremely useful when you want to create files for specific things. A great example would be to create a person file. It could contain a Person class with a bunch of helper functions to create multiple Person objects from a list easily.
In this video we just show how you can share functions between files, but the options are basically limitless!
Python Modules: https://www.w3schools.com/python/pyth...
Thanks for watching! ❤️
Timestamps:
00:00 Intro
00:38 Simple Module
03:30 Initialize Python Directory
04:47 Using Modules from Other Directories
06:39 Outro
#coding #python #modules