Python Packages & Modules

Publié le: 28 juillet 2021
sur la chaîne: 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  


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Packages & Modules durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Sanjeev Thiyagarajan 28 juillet 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,100 fois et il a aimé 144 téléspectateurs. Bon visionnage!