1 00:00:00,660 --> 00:00:06,360 Hello and welcome back to the class of our course for the complete introduction to science with Python. 2 00:00:07,050 --> 00:00:13,980 So in this class, we are going to talk about some really basic SkyBitz functions that can be used inside 3 00:00:13,980 --> 00:00:15,100 of Python. 4 00:00:16,260 --> 00:00:22,680 So, as always, the first thing that you guys need to do is import Kibuye inside of your python. 5 00:00:23,220 --> 00:00:25,220 So it's pretty simple how it's going to work. 6 00:00:25,230 --> 00:00:29,230 It's like with any other things that we did. 7 00:00:29,490 --> 00:00:35,340 So basically, you just go inside of your settings and then you go inside of your python interpreter 8 00:00:36,480 --> 00:00:37,080 right here. 9 00:00:37,290 --> 00:00:45,550 Then you click on the plus right there you look for Skype and you simply click on import. 10 00:00:46,050 --> 00:00:51,290 So basically it pretty much the same way as for any other thing that we import it. 11 00:00:51,990 --> 00:00:53,280 So it's pretty simple. 12 00:00:53,280 --> 00:00:55,210 Just click on install package. 13 00:00:55,830 --> 00:00:59,510 So when you will install part your package, it should be somewhere right here. 14 00:00:59,520 --> 00:01:00,800 So it will be right there. 15 00:01:01,520 --> 00:01:01,820 Right. 16 00:01:02,070 --> 00:01:07,710 So when you guys are already the next thing that we will do right now is right. 17 00:01:07,710 --> 00:01:10,640 Our first basic functions with Skype. 18 00:01:11,190 --> 00:01:17,880 So as always, the first thing that we need to do, we need to import Skype inside of our python, the 19 00:01:17,880 --> 00:01:18,630 text editor. 20 00:01:18,990 --> 00:01:19,830 So pretty simple. 21 00:01:19,980 --> 00:01:22,070 What will do will simply write down import. 22 00:01:23,870 --> 00:01:28,890 Here we go to import Skype as. 23 00:01:31,050 --> 00:01:36,600 Now, the next thing that we that you guys need to understand is that all these packages that will be 24 00:01:36,600 --> 00:01:40,500 used in SkyBitz has to be imported before being used. 25 00:01:40,740 --> 00:01:47,460 If you guys don't import the packages that you want to use, you will not be able to use them and you 26 00:01:47,460 --> 00:01:49,350 will receive an error message. 27 00:01:49,570 --> 00:01:52,620 So it's really important to import each cell package. 28 00:01:52,950 --> 00:01:55,380 When I'm talking about some packages I can talk about. 29 00:01:55,380 --> 00:01:58,790 For example, enter put interpolate appellation. 30 00:01:59,130 --> 00:02:06,540 This could be one of the packages integral to another sub packages cluster, which is a really interesting 31 00:02:06,660 --> 00:02:08,730 package, is another package. 32 00:02:08,730 --> 00:02:10,940 Constant is also another package. 33 00:02:11,580 --> 00:02:14,970 So there is plenty of packages for the purpose of this course. 34 00:02:14,970 --> 00:02:17,840 We'll import a few of them. 35 00:02:17,850 --> 00:02:22,800 So just this way you guys will see what it looks like to import some packages. 36 00:02:23,100 --> 00:02:23,940 So pretty simple. 37 00:02:23,940 --> 00:02:25,560 How do we import this package? 38 00:02:25,890 --> 00:02:33,240 We simply write down from so from where we import our package will import our package from Skype. 39 00:02:33,930 --> 00:02:36,260 So really important to write down from Skype. 40 00:02:36,270 --> 00:02:42,060 So we import our package from Skype and WhatsApp package what to import. 41 00:02:42,090 --> 00:02:45,610 So we want to import, in this case, integrate. 42 00:02:46,050 --> 00:02:48,880 So in the great. 43 00:02:49,530 --> 00:02:50,100 So here we go. 44 00:02:50,100 --> 00:02:52,800 We have a set package from Skype that we just imported. 45 00:02:52,800 --> 00:02:54,300 So we have imported that integrate. 46 00:02:55,920 --> 00:02:57,210 Let's say we want to import. 47 00:02:57,420 --> 00:03:00,650 I don't want to import Kluster, for example. 48 00:03:00,840 --> 00:03:02,210 So it's going to work the same way. 49 00:03:02,220 --> 00:03:08,640 So let's say we'll write down from Skype by import Kluster. 50 00:03:09,270 --> 00:03:11,910 So right now we have imported integrate and Kluster. 51 00:03:11,910 --> 00:03:16,730 We can't import another package, which would be FFE back. 52 00:03:17,070 --> 00:03:20,370 So this this is used for a four year transforms. 53 00:03:21,270 --> 00:03:23,520 We can import it, so let's import it as well. 54 00:03:24,080 --> 00:03:30,540 So from in this case, Kibuye import. 55 00:03:32,920 --> 00:03:34,930 F f t thack. 56 00:03:36,130 --> 00:03:43,660 As you can see here, we have imported three sub packages, so this will allow us to use all the functions 57 00:03:43,660 --> 00:03:45,490 that are with those sub packages. 58 00:03:46,330 --> 00:03:46,720 All right. 59 00:03:47,350 --> 00:03:52,090 The next few functions that we are going to talk about will not necessarily make any operation. 60 00:03:52,630 --> 00:04:00,280 It's just some of some operations that will give you information or simply help about the sub packages. 61 00:04:01,030 --> 00:04:06,590 So the first the first function that we are going to talk about with the help function. 62 00:04:06,610 --> 00:04:12,940 So basically what it does, it will simply return you informations about key words, functions or classes 63 00:04:12,940 --> 00:04:14,700 that you guys would work with. 64 00:04:15,250 --> 00:04:16,720 So it's pretty simple. 65 00:04:18,160 --> 00:04:23,290 It's going to once again, it's really important to import before you import the package that you want 66 00:04:23,290 --> 00:04:28,900 to receive help about, because if you don't import this package, you will simply receive an error 67 00:04:28,900 --> 00:04:29,440 message. 68 00:04:30,310 --> 00:04:34,450 So in this case, we have imported three three separate. 69 00:04:34,460 --> 00:04:39,180 Just so what we'll do, we will seek help for one of those packages. 70 00:04:39,190 --> 00:04:45,040 So let's say we want to have help for our integrated support package. 71 00:04:45,040 --> 00:04:47,510 So we'll write down help and then integrate. 72 00:04:48,790 --> 00:04:51,650 So we want to receive help about this package. 73 00:04:51,670 --> 00:04:52,390 So pretty simple. 74 00:04:52,390 --> 00:04:56,940 Simply, you write down the help of the European dishes and write them integrate. 75 00:04:57,160 --> 00:05:03,480 And when you run the app, you receive all the help about the integrated stuff back. 76 00:05:03,550 --> 00:05:08,710 So basically you will receive all the information about this package and different formulas that you 77 00:05:08,710 --> 00:05:13,040 guys can use about it if you just want to write down help. 78 00:05:13,070 --> 00:05:15,160 So in this case, let's say we write down help. 79 00:05:16,250 --> 00:05:20,990 What's going to happen, you'll receive help and then you will need to write down the support package 80 00:05:21,230 --> 00:05:27,850 about which you want to receive help in this case, we want to receive help about Skype that integrate. 81 00:05:28,760 --> 00:05:30,740 So about this package right here. 82 00:05:31,100 --> 00:05:32,300 And we just run the app. 83 00:05:32,300 --> 00:05:34,850 And as you can see, it's going to do pretty much the same thing. 84 00:05:35,180 --> 00:05:39,630 But if we don't import this package, you'll receive an error message. 85 00:05:39,920 --> 00:05:44,390 So in this case, we have those three packages, let's say I want to work with and the image support 86 00:05:44,390 --> 00:05:44,780 package. 87 00:05:45,230 --> 00:05:48,410 So in this case, I'm going to write in the image. 88 00:05:49,610 --> 00:05:55,820 And if I decide to run to run this whole step, this up right here, I decide to run this app, I'll 89 00:05:55,820 --> 00:06:01,460 receive an error message because I didn't import this sub package of SkyPan. 90 00:06:02,490 --> 00:06:05,190 So basically, it's not going to work, all right. 91 00:06:05,460 --> 00:06:09,570 The next function that we are going to talk about will be the input function and it works pretty much 92 00:06:09,570 --> 00:06:12,120 the same way as the help functions will return as well. 93 00:06:12,130 --> 00:06:14,750 Information about the key words, classes and functions. 94 00:06:15,540 --> 00:06:18,900 And once again, it will return some other type of information. 95 00:06:19,200 --> 00:06:22,740 So what we'll do is it works pretty much the same way. 96 00:06:23,670 --> 00:06:25,590 So in this case, we'll write down ESP. 97 00:06:26,220 --> 00:06:31,290 So because we imported Skype as a so we want to make a reference to our Skype. 98 00:06:31,290 --> 00:06:32,850 So we use S.P.. 99 00:06:35,490 --> 00:06:42,660 But in this case, want information so that info and we want information about our lists, let's say 100 00:06:42,660 --> 00:06:50,820 50 back, so 50 back, so want information about this package right here and what we'll do right now, 101 00:06:50,820 --> 00:06:57,290 we'll simply run our function so you can see you'll receive all the information about this package. 102 00:06:57,810 --> 00:06:59,220 So it's pretty interesting. 103 00:06:59,220 --> 00:07:03,940 So it's not the same thing as the help function, but it gives us a lot of information as well. 104 00:07:05,130 --> 00:07:10,860 So this is how you guys, if you need info about a certain package, this is the way that you can use 105 00:07:10,860 --> 00:07:12,880 to be able to get this information. 106 00:07:13,200 --> 00:07:18,750 And finally, the last thing that we are going to talk about or the less the last function that we are 107 00:07:18,750 --> 00:07:23,100 going to talk about would be the source function, in this case, dysfunctional, simply return the 108 00:07:23,100 --> 00:07:26,480 source code of objects that are written in Python. 109 00:07:27,450 --> 00:07:28,830 So it works the same way. 110 00:07:28,830 --> 00:07:35,050 We are looking for the source of a certain package and it works pretty much the same way. 111 00:07:35,070 --> 00:07:36,150 So it's the same function. 112 00:07:36,180 --> 00:07:40,030 So we are making reference to RSP to to Skype. 113 00:07:40,050 --> 00:07:43,320 So we want, in this case, the source. 114 00:07:45,120 --> 00:07:50,130 So we are making reference to SCoPI and the one the source of, let's say, the cluster back. 115 00:07:50,160 --> 00:07:51,810 This is the one that we didn't use. 116 00:07:52,020 --> 00:07:57,290 So cluster some package and we run our function right now. 117 00:07:57,300 --> 00:08:01,080 So what will receive will receive all the source code of all this. 118 00:08:01,090 --> 00:08:01,740 So all this. 119 00:08:01,740 --> 00:08:01,990 Yeah. 120 00:08:02,030 --> 00:08:04,810 So all the source code of this package. 121 00:08:06,510 --> 00:08:13,440 So once again, as I said, those three functions are pretty simple and they give you more hints and 122 00:08:13,440 --> 00:08:15,870 help about the different packages. 123 00:08:16,170 --> 00:08:21,930 It's not those are not functions that will give you abilities to make some operations or some other 124 00:08:21,930 --> 00:08:22,260 things. 125 00:08:22,620 --> 00:08:27,870 Once again, those are pretty simple operations that you guys can use just to get a really small and 126 00:08:27,870 --> 00:08:29,710 basic introduction to Skype. 127 00:08:30,330 --> 00:08:39,210 So if you guys right now have a little basic, well, understanding of Skype and how to use those really 128 00:08:39,210 --> 00:08:40,250 basic functions. 129 00:08:40,410 --> 00:08:45,600 So that's a first class guys and so on, our next class one will do a bit more interesting functions.