1 00:00:00,560 --> 00:00:01,000 OK guys. 2 00:00:01,030 --> 00:00:08,590 Welcome back to another course of our class about Python so in today's class we are going to write our 3 00:00:08,590 --> 00:00:14,660 first lines of code and to help you get an initiation to Python. 4 00:00:14,680 --> 00:00:21,300 We are going to write down the first well the most basic app possible which is the hello world app. 5 00:00:21,490 --> 00:00:25,990 So to be able to write it down we will use a function which is the print function. 6 00:00:26,440 --> 00:00:27,760 So let's start out. 7 00:00:28,040 --> 00:00:35,470 So until now what we've done we've installed the python python and our text editor which is by term 8 00:00:35,470 --> 00:00:38,310 or any other text editor that you guys have. 9 00:00:38,770 --> 00:00:47,740 And what we want to do now is simply go on our project click on new and we'll open up python file. 10 00:00:48,010 --> 00:00:53,590 So when it's done the next thing that you guys want to do is up and up a python file and that you can 11 00:00:53,590 --> 00:00:54,450 give him a name. 12 00:00:54,490 --> 00:00:57,550 Let's name it project 13 00:01:00,160 --> 00:01:05,400 one when it's done simply click on enter. 14 00:01:05,490 --> 00:01:05,880 All right. 15 00:01:05,940 --> 00:01:13,930 So right now you have your fight on text environment so you can write down the codes that you want. 16 00:01:13,950 --> 00:01:18,660 So that's the first thing that we are going to write will be our hello world up. 17 00:01:19,200 --> 00:01:20,440 So very simple. 18 00:01:20,700 --> 00:01:26,850 How we write it down the first thing we write down our function which is the print function. 19 00:01:26,850 --> 00:01:33,140 Then we open up parentheses and we open up those two little commas. 20 00:01:33,270 --> 00:01:38,820 So what we'll write down inside of our print as I said we'll write down our first EP which is hello 21 00:01:39,090 --> 00:01:40,760 world. 22 00:01:40,830 --> 00:01:42,240 All right. 23 00:01:42,240 --> 00:01:47,100 When our first line of code is written right now it's time to run it. 24 00:01:47,130 --> 00:01:50,350 So if you want to run your first app it's very simple. 25 00:01:50,460 --> 00:01:58,810 You can click here which will run the project or you can run your project from there or here. 26 00:01:58,820 --> 00:02:02,170 So in my case I have a few project ones. 27 00:02:02,300 --> 00:02:03,110 So here we go. 28 00:02:03,110 --> 00:02:12,100 I just ran my app and as you can see this is the entry so if I run again as you can see my answer is 29 00:02:12,100 --> 00:02:13,100 hello world. 30 00:02:13,150 --> 00:02:20,110 So what's happening this is first of all this is the console and here I'm writing my code. 31 00:02:20,110 --> 00:02:26,320 So this is the place where I will write down my code and that right here this is where I will write. 32 00:02:26,320 --> 00:02:29,650 This is where the code will be generated. 33 00:02:29,650 --> 00:02:31,440 So here I have my answer to my code. 34 00:02:31,870 --> 00:02:34,210 And here is simply my code that I write down. 35 00:02:34,500 --> 00:02:39,160 As you can see here I wrote down my function so I have my function print and then I write. 36 00:02:39,340 --> 00:02:41,650 I have I have what I want to print. 37 00:02:41,980 --> 00:02:44,370 And in this case I want to print Hello World. 38 00:02:44,530 --> 00:02:47,260 And as you can see here I just printed this first. 39 00:02:47,710 --> 00:02:49,200 So that's it for this course guys. 40 00:02:49,200 --> 00:02:51,370 And see all in our next class.