1
00:00:00,570 --> 00:00:06,990
So an issue that we're going to talk about, this python modules and you can see in other pythons groups,

2
00:00:06,990 --> 00:00:13,830
there's some modules we are going to use these modules that putting these modules, etc. So we are going

3
00:00:13,830 --> 00:00:14,370
to see that.

4
00:00:15,090 --> 00:00:21,810
So first thing I want to do is I will just add some functions that are defined at.

5
00:00:22,970 --> 00:00:29,520
And there is a cover beat and I just written this year plus P-value.

6
00:00:30,410 --> 00:00:37,850
So now this is my source boy and I can read all the mathematical or any other function I want to read

7
00:00:37,850 --> 00:00:49,620
in this stability so you can also write this stuff and come up and return this actual subtraction return

8
00:00:49,640 --> 00:00:50,650
year minus B..

9
00:00:51,290 --> 00:00:54,320
So what's the help of the smartasses?

10
00:00:54,500 --> 00:00:59,330
You can import these functions in your own Python script.

11
00:00:59,570 --> 00:01:05,930
You can see there are two functions in this social play, addition and subtraction, and you can also

12
00:01:05,930 --> 00:01:07,350
write so many functions as well.

13
00:01:07,460 --> 00:01:13,490
So if you want to write your Python code here right now, are you taking the user input and then throwing

14
00:01:13,490 --> 00:01:14,530
these arguments here?

15
00:01:14,840 --> 00:01:17,480
So then it would take so much of space, right.

16
00:01:17,660 --> 00:01:23,980
So you do your functions are the lines of code to take so many lines.

17
00:01:24,320 --> 00:01:31,580
So these modules help us to, uh, use these functions in the script.

18
00:01:31,910 --> 00:01:36,730
So this is system stability and I can write all of my functions here.

19
00:01:36,950 --> 00:01:44,390
This so that, you know, I can say Sambor that, you know, I can Krekar these functions from dissembler.

20
00:01:45,290 --> 00:01:47,690
So to do that, we need to import.

21
00:01:49,200 --> 00:01:56,880
Importance because our python financial resources and make sure that these two final words are the same.

22
00:01:59,340 --> 00:02:01,370
Now I have to import at the source.

23
00:02:01,680 --> 00:02:04,290
No, what I can do is I can see the result.

24
00:02:06,320 --> 00:02:11,520
Is it too slow to function in another Python script?

25
00:02:11,550 --> 00:02:19,580
We need to call it player dot operator, you source the final dot the function of.

26
00:02:21,930 --> 00:02:29,970
And I do need to resource that you can see when I press the dart, you can see there is addition and

27
00:02:29,970 --> 00:02:32,250
subtraction, uh, functions.

28
00:02:32,460 --> 00:02:36,870
You can just say add and open brackets and you can pass some parameters.

29
00:02:37,200 --> 00:02:40,060
That's a six, comma three.

30
00:02:40,620 --> 00:02:42,590
Now, we can just print this result.

31
00:02:50,620 --> 00:02:54,500
So as you can see there in the output, nine six four three nine.

32
00:02:54,520 --> 00:02:57,240
So this is called Pussy Circle.

33
00:02:57,670 --> 00:03:04,000
And because we are covering the procedure of the another and the script.

34
00:03:04,840 --> 00:03:12,740
And another way to import this is, you know, need to call every time slaughterers order some sultanahmet

35
00:03:12,800 --> 00:03:15,850
extra be used from source.

36
00:03:17,170 --> 00:03:19,780
You can say import edition.

37
00:03:21,080 --> 00:03:28,940
Karma, so you can put these two functions and at the time these two functions will be added to our

38
00:03:28,940 --> 00:03:38,020
script and you can also say star, but every function in this sorcerer that I just simply say the word

39
00:03:38,030 --> 00:03:38,910
of six commentary.

40
00:03:39,150 --> 00:03:40,690
Now we will get the same output.

41
00:03:43,460 --> 00:03:50,690
So this is very well, not a convenient way to import all the functions and the variables in this,

42
00:03:50,720 --> 00:03:53,550
so you can also do the import script as well.

43
00:03:54,140 --> 00:04:00,890
So these are the two types of importing from the source and to use those functions.

44
00:04:01,580 --> 00:04:03,900
So this is out of the modules.

45
00:04:03,900 --> 00:04:07,660
So these modules help you to read are the functions in one file.

46
00:04:07,910 --> 00:04:16,700
So no need to worry about or you can just simply chain these functions and you can create another file

47
00:04:16,700 --> 00:04:22,160
and you can use these functions like like you have written in your own script.

48
00:04:22,730 --> 00:04:26,230
So these are the basics of these modules.

49
00:04:26,570 --> 00:04:31,420
We are going to import into modules in the future, just like import soccer and cetera.

50
00:04:32,060 --> 00:04:35,090
And you can also use this from source import.

51
00:04:35,420 --> 00:04:36,720
It will put other functions.

52
00:04:38,000 --> 00:04:41,360
So one more thing I want to show you is so important.

53
00:04:41,360 --> 00:04:49,820
If you go to local children and users and the new user name and go to data and local.

54
00:04:52,080 --> 00:04:59,130
And this you can see the pattern in the programs, you can see Peyton go to this pattern three one nine.

55
00:05:00,900 --> 00:05:01,930
And go to sleep.

56
00:05:07,140 --> 00:05:10,360
So you can also start to weigh in here.

57
00:05:10,620 --> 00:05:19,500
So by default, when you are Neapolitans, all these modules are loaded, you are imports, any of these

58
00:05:19,500 --> 00:05:20,050
modules.

59
00:05:20,280 --> 00:05:23,950
So if you say are you what are you going to import, then it will.

60
00:05:24,010 --> 00:05:28,940
The coal inside this will place it up in this program's memory.

61
00:05:29,220 --> 00:05:33,540
So you can just it's like accessing that function directly.

62
00:05:34,440 --> 00:05:40,040
So you can see there are so many different libraries you can use in the python.

63
00:05:40,950 --> 00:05:45,060
And we have also seen how to install the external libraries.

64
00:05:45,690 --> 00:05:45,970
Right.

65
00:05:46,080 --> 00:05:49,620
Using the pipe between sort of modernity.

66
00:05:49,950 --> 00:05:55,110
So these are the modules you can just import in this python.

67
00:05:55,110 --> 00:05:59,930
If you want to import any other custom module, you need to introduce this way up.

68
00:06:00,030 --> 00:06:03,890
And this will ensure necessary libraries and dependencies in here.

69
00:06:04,110 --> 00:06:06,920
And then you can just simply import that module.

70
00:06:07,500 --> 00:06:10,020
So it's very easy of using these modules.

71
00:06:10,030 --> 00:06:11,720
So that's about these modules.

72
00:06:11,940 --> 00:06:13,050
I hope you have understood.

