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
In questa pagina del sito puoi guardare il video online Python Packages & Modules della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sanjeev Thiyagarajan 28 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,100 volte e gli è piaciuto 144 spettatori. Buona visione!