Python Modules for Beginners
30.3K views on YouTube
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.
๐ Support me on Patreon โ https://patreon.com/davegray
โญ 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