1 00:00:00,650 --> 00:00:07,310 In this video, we shall discuss overview of Biton, what are the different features of Pythonesque 2 00:00:07,310 --> 00:00:07,690 having? 3 00:00:08,120 --> 00:00:12,500 We know that Python is a high level language and object oriented language. 4 00:00:13,120 --> 00:00:18,210 It is very much expressible and it is having a very easy syntax to write the code. 5 00:00:18,590 --> 00:00:24,320 So let us go for our detailed discussion on this overview of Python as it is coming next. 6 00:00:25,160 --> 00:00:28,080 Python coding can be done in three different ways. 7 00:00:28,100 --> 00:00:29,710 First one is the immediate mode. 8 00:00:29,840 --> 00:00:36,500 Next one is the script mode and the last one using some integrated development environment that is EDEK. 9 00:00:36,770 --> 00:00:42,260 So at first we're going to discuss how we can do the coding in Python in immediate mode. 10 00:00:42,410 --> 00:00:49,130 So here we are opening our command prompt and we are going to the respective folder that is our Scallan 11 00:00:50,000 --> 00:00:50,750 user's. 12 00:00:51,740 --> 00:00:57,710 This is username, name and Anakonda three, how to install this anakonda, we have discussed that one 13 00:00:57,710 --> 00:01:03,680 in our other video that what are the steps we required to install this anakonda so far? 14 00:01:03,690 --> 00:01:06,220 This one will be degrading despite the ACCE. 15 00:01:06,680 --> 00:01:10,490 So despite undoubtedly if you click, then this comment probably will open. 16 00:01:10,670 --> 00:01:12,340 With this respect prompt. 17 00:01:12,560 --> 00:01:15,190 There is a triple Grayden symbol. 18 00:01:15,620 --> 00:01:20,810 So here you can write the code and the immediate mode to run our scripts. 19 00:01:20,810 --> 00:01:21,680 You can find this one. 20 00:01:21,690 --> 00:01:23,600 So we are writing this one print HelloWallet. 21 00:01:28,400 --> 00:01:32,510 So in this way, we can go for this, so it is equal to 100. 22 00:01:33,990 --> 00:01:38,340 Basically to 200 C is equal to A plus B. 23 00:01:39,190 --> 00:01:42,010 And then we can go for Prince Princi. 24 00:01:45,300 --> 00:01:50,350 So it is getting printed as 300, so this is a mode which is known as the immediate mode. 25 00:01:50,790 --> 00:01:55,660 That means we can also do the same using our command prompt here. 26 00:01:55,950 --> 00:01:57,750 So here we are having our command prompt. 27 00:01:58,050 --> 00:01:59,660 So I'm going for these users. 28 00:01:59,670 --> 00:02:02,880 And this hour then I'll be going for this Anakonda three. 29 00:02:06,050 --> 00:02:08,400 We can go for this anakonda three here. 30 00:02:08,420 --> 00:02:11,680 We're having our Biton so we can go for this. 31 00:02:15,230 --> 00:02:18,800 So it is a bit under the sea, is there, we can run it. 32 00:02:20,570 --> 00:02:23,370 And we are going to get the same screen, whatever we had. 33 00:02:23,390 --> 00:02:25,640 So this is our this is known as the immediate mode. 34 00:02:26,120 --> 00:02:30,670 So typing Python in the government line will invoke the interpreter in the immediate mode. 35 00:02:30,680 --> 00:02:35,960 And you can directly type in python expressions and presenter to get the required output. 36 00:02:36,260 --> 00:02:42,740 And if the and if the python prompt will tell us that interpreter is ready for our input. 37 00:02:42,980 --> 00:02:45,130 So let me type some code here. 38 00:02:45,140 --> 00:02:46,460 So I'm going for the sprint. 39 00:02:47,750 --> 00:02:55,280 The 100 plus 200 you can easily find it is calculating and giving me the outcome, so this is our immediate 40 00:02:55,280 --> 00:02:58,460 mode, not let me tell you that, how to do the coding. 41 00:02:58,460 --> 00:02:59,650 It was in the script mode. 42 00:03:00,260 --> 00:03:02,660 So for that purpose, we're just opening a notepad. 43 00:03:04,510 --> 00:03:05,290 For the time being. 44 00:03:06,670 --> 00:03:09,460 So here I am writing the code that is a print. 45 00:03:11,650 --> 00:03:14,740 So type this quote here and you are saving this one. 46 00:03:16,220 --> 00:03:17,130 And that is beautiful. 47 00:03:17,300 --> 00:03:21,020 There is Anaconda three and giving the name as Sprog one. 48 00:03:22,920 --> 00:03:29,100 Not by giving their names, but by so we are saving this one wandered by the Vilem. 49 00:03:29,340 --> 00:03:36,060 Now we are coming back to our I'm getting my prompt here, so let me check that the file has got sceptered 50 00:03:36,060 --> 00:03:36,480 or not. 51 00:03:40,640 --> 00:03:43,860 Is a filer's gossip with 41 bites here. 52 00:03:44,270 --> 00:03:47,030 So now we can execute this code using Python. 53 00:03:48,230 --> 00:03:51,320 So Python will interpret this, this program. 54 00:03:55,400 --> 00:04:02,600 So we're going for this Biton propaganda by you can see that the program is executing, so this is the 55 00:04:02,630 --> 00:04:06,590 this is a mode known as the equipment where we can type our code. 56 00:04:07,070 --> 00:04:13,490 And this model will be used to execute the Python program written in a file, and then we're executing 57 00:04:13,490 --> 00:04:15,680 it, using Python and the phylum. 58 00:04:15,680 --> 00:04:16,700 You can get output here. 59 00:04:16,970 --> 00:04:18,380 So this is a program we brought. 60 00:04:19,800 --> 00:04:25,320 OK, and is output we are getting, there is another way to type the code, and that is our integrated 61 00:04:25,320 --> 00:04:26,500 development environment. 62 00:04:26,790 --> 00:04:30,810 So for that purpose, we are just invoking this anakonda. 63 00:04:32,370 --> 00:04:33,690 So I don't want the navigator. 64 00:04:38,220 --> 00:04:40,740 And now here we're going for this Jupiter. 65 00:04:41,610 --> 00:04:43,320 It will open it in a browser. 66 00:04:45,290 --> 00:04:52,730 So here we are having so I shall go for this plus so we're going for this Python three. 67 00:04:54,180 --> 00:05:01,650 So you can find that this is our untitled dot ipy Inbee, so there is extension here, you can write 68 00:05:01,650 --> 00:05:03,570 the code, so print. 69 00:05:06,450 --> 00:05:07,350 You can execute it. 70 00:05:09,830 --> 00:05:16,040 Welcome to the world of programming in this week on Go on execution, so you see it has open into our 71 00:05:16,040 --> 00:05:16,840 Chrome browser. 72 00:05:17,000 --> 00:05:21,280 So on the default browser, this notepad will get opened. 73 00:05:21,590 --> 00:05:22,820 There is a Jupiter lab. 74 00:05:23,570 --> 00:05:25,010 So now we are going for this. 75 00:05:26,180 --> 00:05:27,190 Jupiter notebook. 76 00:05:29,340 --> 00:05:32,540 We tested the Jupiter lab, now we are going for this Jupiter notebook. 77 00:05:33,880 --> 00:05:36,130 So disrespectful, destructive, it is telling. 78 00:05:38,610 --> 00:05:41,850 Now for the new Python three. 79 00:05:44,510 --> 00:05:45,620 So heroes we can type. 80 00:05:47,360 --> 00:05:48,710 You can go for the execution. 81 00:05:50,540 --> 00:05:57,590 In this way, also using this Jupiter, we can also go for this, Taiping, so we updated with Jupiter 82 00:05:57,920 --> 00:06:03,260 and Jupiter notebook, so to as we have done it, make me go for the spider. 83 00:06:07,260 --> 00:06:08,490 So using this part. 84 00:06:11,160 --> 00:06:17,160 So here you can see that the signs are coming, so this a way in which you are typing and you can go 85 00:06:17,160 --> 00:06:21,880 for the execution, you can find that Hello Old and welcome is getting executed. 86 00:06:22,170 --> 00:06:24,090 So there is another way to execute the same. 87 00:06:25,270 --> 00:06:27,850 And now you're going to find that we're going to go for the Rantzen. 88 00:06:28,820 --> 00:06:34,970 So only this particular line, I'm just going for this and then I'm going to run until you see one of 89 00:06:34,970 --> 00:06:36,410 the Halliwell has got executed. 90 00:06:39,830 --> 00:06:45,320 So only this will come has got executed in this way or else we can go for partial execution, let us 91 00:06:45,320 --> 00:06:50,790 suppose we are having variable say is equal to 100 and say is equal to 200. 92 00:06:51,380 --> 00:06:58,730 Now we are going forward says he is equal to A plus B and then we're going for this value of C is going 93 00:06:58,730 --> 00:06:59,510 to get 28. 94 00:07:01,290 --> 00:07:04,260 So the sum of. 95 00:07:08,310 --> 00:07:08,820 Is. 96 00:07:10,360 --> 00:07:16,350 So there is a way to type format, we shall be discussing all these things into details. 97 00:07:19,520 --> 00:07:25,700 If we go on executing, we can find that so the sum of 100 and 200 is 300, but having the variable 98 00:07:26,180 --> 00:07:31,410 explode out here, you can see the value of and BNC will be displayed. 99 00:07:31,490 --> 00:07:34,510 You can find that develop and B and C are getting displayed. 100 00:07:35,360 --> 00:07:36,490 So I'm just making this one up. 101 00:07:36,500 --> 00:07:38,440 600 making this one has 500. 102 00:07:39,020 --> 00:07:42,780 So now if I go on executing, you can find that values about uprated. 103 00:07:43,340 --> 00:07:45,350 So this is not an advantage of this. 104 00:07:46,130 --> 00:07:48,610 There's a spider also here. 105 00:07:48,650 --> 00:07:53,430 Also, we can have the line-by-line execution, as I told you, that if I maqdis this and if we go for 106 00:07:53,430 --> 00:07:56,660 ransom, if we're getting only these two lines are getting executed. 107 00:07:57,200 --> 00:08:00,970 So there is another fantastic way to execute this Python program. 108 00:08:01,790 --> 00:08:07,550 So as we discussed that Python is nothing but one cross platform programming language and it executes 109 00:08:07,550 --> 00:08:10,520 in Windows, Mac with Linux and Unix. 110 00:08:10,520 --> 00:08:14,600 And also it can be executed, ported to the Java Internet virtual machines. 111 00:08:15,110 --> 00:08:21,550 And now it is Python is available in some Unix and in Mac preinstalled. 112 00:08:21,560 --> 00:08:25,050 But in that case, obviously, the versions might be the older one. 113 00:08:25,090 --> 00:08:32,890 So it is it is our better choice to install it the latest version and explore it according to our requirement. 114 00:08:32,900 --> 00:08:33,920 We can explore that one. 115 00:08:34,880 --> 00:08:39,590 And now let me discuss some of the different features of this python. 116 00:08:40,040 --> 00:08:45,590 Python is an object oriented language, which means that it can model real world objects. 117 00:08:45,920 --> 00:08:53,800 And it is also dynamically typed because it carries out a type checking at runtime so that it dynamically 118 00:08:53,810 --> 00:08:55,220 typing means during the runtime. 119 00:08:55,220 --> 00:08:57,890 The variables data type will be decided here. 120 00:08:58,400 --> 00:09:06,980 That named Python came by Guido van Rossum and it came after the committee group that is a Monty Python 121 00:09:07,190 --> 00:09:09,350 and from that is named Python came here. 122 00:09:09,680 --> 00:09:17,600 If you consider Python, then in Python architecture, where having parser, which is the source code 123 00:09:17,600 --> 00:09:25,450 to generate an abstract syntax street with having compiler which runs the Williston's, obstruct a syntax 124 00:09:25,460 --> 00:09:31,790 tree into python bytecode, we're having interpretor, which will be executing the code line by line. 125 00:09:32,180 --> 00:09:35,300 And we are also having their respective three components. 126 00:09:35,310 --> 00:09:39,560 So that is our parser compiler and interpreter. 127 00:09:39,800 --> 00:09:45,500 So Parser will convert the source code to the as I told you, that is the abstract syntax compiler will 128 00:09:45,650 --> 00:09:51,470 convert this abstract syntax bytecode format and then the interpreter will come, which will execute 129 00:09:51,470 --> 00:09:53,090 this code line by line. 130 00:09:53,600 --> 00:09:55,850 Python is having multiple different components. 131 00:09:55,850 --> 00:10:00,310 That is a functions, classes, modules, packages and so on. 132 00:10:00,770 --> 00:10:07,310 We know that functions is nothing but a collection of stickman named into one classes are nothing but 133 00:10:07,310 --> 00:10:12,410 Ingersol object oriented programming, so it supports the classes and the objects. 134 00:10:12,830 --> 00:10:18,830 A Python module is a collection of related classes and the functions where having the packages or package 135 00:10:18,830 --> 00:10:23,540 is a collection of related models and will be using multiple different packages. 136 00:10:23,540 --> 00:10:29,900 In our current tutorial on Python here, if you consider the features of Python, the python is very 137 00:10:29,900 --> 00:10:30,310 easy. 138 00:10:30,650 --> 00:10:32,850 That is very easy to learn and understand. 139 00:10:33,170 --> 00:10:36,940 It is interpreted so it is interpreted, executed line by line. 140 00:10:37,220 --> 00:10:40,130 So it makes it easy to test and debug. 141 00:10:40,460 --> 00:10:45,650 If you consider the respective object oriented, it supports the classes and objects. 142 00:10:46,070 --> 00:10:47,520 It is free and open source. 143 00:10:47,520 --> 00:10:52,130 So that is another advantage for making the python so popular. 144 00:10:52,490 --> 00:10:57,460 So that is the language and its source code are available to the public for free. 145 00:10:57,680 --> 00:10:59,930 No need to buy a costly license. 146 00:11:00,290 --> 00:11:01,160 It is portable. 147 00:11:01,160 --> 00:11:05,240 That means we can run Python on Windows, Mac, Linux and other platform. 148 00:11:05,250 --> 00:11:08,750 As I discussed, I don't suppose that you were programming. 149 00:11:08,750 --> 00:11:15,410 That means we can develop it, yet you won't interface for our users and it is having a large library. 150 00:11:15,410 --> 00:11:17,810 That is one of the very important feature of Python. 151 00:11:17,810 --> 00:11:24,710 That is a python provides us with a large standard library and you can use them to implement a variety 152 00:11:24,710 --> 00:11:28,670 of functions and multiple different frameworks are available in Python. 153 00:11:28,670 --> 00:11:35,030 We are having the same with Dubai, where having none by having our pyramid, we are having sci fi, 154 00:11:35,120 --> 00:11:36,620 we are being Dejiang. 155 00:11:36,810 --> 00:11:42,350 So, so many different frameworks are available at these frameworks are required to develop our software 156 00:11:42,440 --> 00:11:45,800 in multiple different applications for multiple different studies. 157 00:11:45,980 --> 00:11:48,440 So that's why Python is so useful. 158 00:11:48,800 --> 00:11:51,740 And the common extension for Python file will be dog bite. 159 00:11:51,980 --> 00:11:55,340 So it is a common extension which we had in our notepad. 160 00:11:55,340 --> 00:11:58,160 We know that in our notepad we had that extension. 161 00:11:58,160 --> 00:11:59,990 There is a proc, one dart bite. 162 00:12:00,350 --> 00:12:03,030 So it is a normal extension for a python source. 163 00:12:03,710 --> 00:12:09,830 But having other extensions, that is why you see there is a comp. bytecode we're having B white D, 164 00:12:10,220 --> 00:12:11,990 there is a Windows deal file. 165 00:12:12,080 --> 00:12:13,340 We're having B white. 166 00:12:13,340 --> 00:12:17,210 Oh, that is a file created with optimisations B. 167 00:12:17,210 --> 00:12:18,890 Why W there is A. 168 00:12:19,160 --> 00:12:27,020 Transcript for Windows B, Y, Z, there is a Python script archive, so now the last question I want 169 00:12:27,020 --> 00:12:27,630 to discuss that. 170 00:12:27,660 --> 00:12:29,570 Why should we learn Python? 171 00:12:29,780 --> 00:12:37,340 Because using Python, we can go for developing a website, develop a game platform, computer vision 172 00:12:37,850 --> 00:12:42,440 to the machine learning, because in our machine learning we're having, despite all the art programming 173 00:12:42,440 --> 00:12:43,040 languages. 174 00:12:43,550 --> 00:12:46,730 And Python is one of the most popular language in our machine. 175 00:12:46,730 --> 00:12:48,590 Learning and artificial intelligence domain. 176 00:12:49,190 --> 00:12:53,690 Enable a robotics, enable robotics, perform Whipp scrapping. 177 00:12:53,830 --> 00:13:00,050 We're having parfum guitar lessons, automate a web browser, performing scripting, perform scientific 178 00:13:00,050 --> 00:13:04,780 computations, build artificial intelligence oriented applications and so on. 179 00:13:05,150 --> 00:13:11,420 So that's why Python is becoming so useful and we are having multiple different constructs in Python. 180 00:13:11,420 --> 00:13:17,510 Like our least, we are having tuples and having dictionaries where having common sense gokmen string 181 00:13:18,020 --> 00:13:23,360 and well-being CDs, we are having the sets, we are having sequences and so on. 182 00:13:23,540 --> 00:13:29,540 So, so many things and we will be covering all these different aspects of Python in our tutorial. 183 00:13:29,870 --> 00:13:34,340 So please go through all the videos in the sequence in which they are appearing in the tutorial. 184 00:13:34,820 --> 00:13:37,520 And this is our overview on Python. 185 00:13:38,120 --> 00:13:39,290 Thanks for watching this video.