Use Python Modules (to Write Clean Code) #23

preview_player
Показать описание

In this video, we will understand why modules are used and learn how to import them into our program. We will then learn to create custom modules with the help of examples.

~

Watch our videos and revise them with our Python App!

Timestamps:
0:00 Intro
0:19 Python modules
2:07 Renaming modules
3:00 Python from...import statement
4:54 The dir() function
6:24 Custom modules

Find Programiz elsewhere:
-------------------------------------------------

Use Python Modules (to Write Clean Code) #23

#python #learnprogramming #programiz #pythonmodules
Рекомендации по теме
Комментарии
Автор

🔥Finding it Damn Hard to Understand Python?
Learn to code—the right way—with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT!

programizstudios
Автор

This video and all of the ones in the series are great!

pinkshoelace
Автор

Super learning about Module, thank you for posting.

affreenmjha
Автор

Very good, simple, and clear videos. Can we override the built-in module? Just I tried your calculator.py to math.py. Then included in main.py. Got the compilation errors as expected.

RaviKumar-leok
Автор

You are great bro


The content is very informative

DopeCode
Автор

Thank you for the clear module explanation. Have a subscribe.

karolyvegh
Автор

Can't thank you enough
I learnt a lot

chiedozieehirim
Автор

Hyper useful
Thanks sir for the well explained tutorial

Mega_Flow
Автор

On this you've came through for me.thanks alot

lilianmulinge
Автор

really such good control on knowledge and very Pationtally describe

VISHALBILARIYE
Автор

Great!!make on other programming languages

ritvinchalamalasetty
Автор

how to find a fuction stored in a module. As dir() only gives fuctions, but not what is a defined code for them.

aliasgar
Автор

Are modules non - executable on a common complier??

surya
Автор

How to install modules in programiz websitr

koushik
Автор

Why import math as asterisk is a bad practice?

education.online_frevryone
Автор

So, the only reason why you don't do 'import math' or 'from math import *' is just because is a bad programming practice and you should only import the definitions inside the module you'll use, is that correct? but, does it have a real impact in our programs like in performance, readability of the code or something like that? why is it a bad practice?

CrixesBlankz
Автор

Pro add Arabic language can you do that? In all videos

flashing_lights_
Автор

Was hoping you would teach how to import modules from other folders/packages. This was only a waste of time.

genteelmagpie