Web Dev Roadmap for Beginners (Free!): 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 ➜ / davegray
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegray.codes/
❓ Questions - Please post them to my Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: / yesdavidgray
LinkedIn: / davidagray
🔗 Source Code: github.com/gitdagray/python-c...
🔗 Playlist for this Python Course: 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: www.python.org/
🔗 Visual Studio Code Official Site: code.visualstudio.com/
🔗 Python Module Index: docs.python.org/3/py-modindex...
🔗 Python Standard Library: docs.python.org/3/library/ind...
Was this Python Modules tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#python #modules #beginners
16 июн 2024