Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
Learn Python modules for beginners in this tutorial. You will learn about Python's built-in modules and how to create your own custom Python modules. Also, the special __name__ value in modules and where to learn more about all of the Python modules available.
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: https://bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: https://bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr
Subscribe https://bit.ly/3nGHmNn
Course Updates https://courses.davegray.codes/
Questions - Please post them to my Discord https://discord.gg/neKghyefqh
Buy Me A Coffee https://www.buymeacoffee.com/davegray
Follow Me On Social Media:
Github: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Source Code: https://github.com/gitdagray/python-course
Playlist for this Python Course: https://bit.ly/dg-beginners-python
Python Modules tutorial for Beginners
(00:00) Intro
(00:05) Welcome
(00:14) An Example of a Built-In Module
(01:55) Modules We Have Used
(02:33) Import from
(03:35) Creating Aliases
(03:57) Module Contents with dir()
(05:21) Module Contents with dot notation
(05:39) Python Module Index
(06:35) Custom Modules
(09:36) if __name__ == "__main__"
(15:10) Making a Rock Paper Scissors module
Tutorial References:
Python Official Site: https://www.python.org/
Visual Studio Code Official Site: https://code.visualstudio.com/
Python Module Index: https://docs.python.org/3/py-modindex.html
Python Standard Library: https://docs.python.org/3/library/index.html
Was this Python Modules tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#python #modules #beginners