Python Tutorial - 12. Modules

preview_player
Показать описание
In this python tutorial we will cover “modules”. We will learn what are “modules”, how to use it, find the list of all modules and how to write a “custom module”.

Topics that are covered in this Python Video:
0:00 Introduction
0:16 Introduction of modules
1:36 Math module
2:15 Find functions in the module
4:10 calendar module
5:54 List of all python modules
6:51 write a custom python module
10:43 sys module

This tutorial goes over what is modules and how you can create your own modules.

Next Video:

Рекомендации по теме
Комментарии
Автор

You are simply a Great Teacher! Such a wonderful explanation ! Even the dumbest person in the world can understand this. Very clear instructions. I am very thankful to you sir. I am actually new to Python and your tutorials are amazing. Thanks again and again!!

lathanelapati
Автор

Hello!.. Can you help me with a little problem?

Is this:
import sys

import default_argument
x=[2222, 333]
a=default_arguments.sum(x)
print(a)

LuisMan
Автор

You do really a great job with your python training program. Well done and thank you very much!

By the way, on my Windows 7 machine I had to chance the directory append with sys.path.append() into double backslashes \\ in order to get no error with the directory append call). see example:
import Pi\\Python for functions as zprint("\nSquare area of 5 is", area of 5 by 10 is", z.calc_triangle_area(5, 10))

HeinzRuetschi
Автор

Nice content Thanks a lot.
Could you please do one simple machine learning project with modular programming. Because this is very important topic and real time companies using modular programming and not procedure oriented direct approach.

shreyasb.s
Автор

Some CR/LF juts got truncated. it shoul read:
import sys
Pi\\Python for Beginners\\TestModules")
import functions as z
print("\nSquare area of 5 is", z.calc_square_area(5))
print("\nTriangle area of 5 by 10 is", z.calc_triangle_area(5, 10))

HeinzRuetschi
Автор

Music makes me feel sleepy. content is good. Please don't add music because everyone s choice is different and if someone doesn't like like it, it's called disturbance.

dark
Автор

you should stick to the slow jazz. Great for the focus. thank you for the course

bob_bobsen
Автор

And this is the result:
Traceback ( most recent call last ):

LuisMan
Автор

Get your accent right...
Good content,
But that accent...

shashwatpandey