Python Packages & Modules

Published: 28 July 2021
on channel: Sanjeev Thiyagarajan
5,100
144

In this video we will do a deep dive into python modules and packages. We'll start off by defining what a python module is and we'll move on to how we can import/export modules. Then once the number of modules grows into an unwieldy amount, we'll learn how to structure them in packages. Last but not least we'll finally learn what in the hell this is:

🏈 if _name_ == "__main__":


▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 Intro
01:05 Importing your first module
05:18 Importing Built in Modules
07:43 from module import x
13:55 importing objects with alternate names
18:30 Conditional imports
20:20 dir() function
23:10 if (__name__== '__main__'):
29:48 packages
37:26 __init__.py
44:55 sub packages
47:28 Absolute vs Relative import

If you like this video please subscribe to this channel. Don't let me go hungry! 🎁
   / @sanjeevthiyagarajan     / sanjeev_tea     / sanjeev_tea  

▬▬▬▬▬▬ Support this garbage Channel 🍒 ▬▬▬▬▬▬
Patreon:   / sanjeevthiyagarajan  

▬▬▬▬▬▬ Stalk me on Social Media 😲 ▬▬▬▬▬▬
  / sanjeev_tea  
  / sanjeev_tea  
  / sanjeevkt720  


On this page of the site you can watch the video online Python Packages & Modules with a duration of hours minute second in good quality, which was uploaded by the user Sanjeev Thiyagarajan 28 July 2021, share the link with friends and acquaintances, this video has already been watched 5,100 times on youtube and it was liked by 144 viewers. Enjoy your viewing!