1 00:00:09,990 --> 00:00:16,350 Hello, guys, and welcome in this lecture, we'll learn how to create a new project on Biton, then 2 00:00:16,350 --> 00:00:20,990 we will set an interpreter and first we will explain what these an interpreter. 3 00:00:21,840 --> 00:00:26,440 Then in the second part, we will personalize and customize our picture environment. 4 00:00:27,300 --> 00:00:27,740 All right. 5 00:00:27,750 --> 00:00:28,440 So let's begin. 6 00:00:29,160 --> 00:00:36,180 So if you don't see a picture shortcode on your desktop or in your bottom toolbar, just go to the bottom 7 00:00:36,180 --> 00:00:38,040 left corner and click on start. 8 00:00:39,900 --> 00:00:44,280 I've been very calm and collected, so it would open. 9 00:00:47,540 --> 00:00:47,930 Great. 10 00:00:47,960 --> 00:00:54,200 So now we're in the welcome to buy Trump screen and right, you click on the Create New Project and 11 00:00:54,200 --> 00:00:57,280 same as we did before, trying to set a reachable path. 12 00:00:57,290 --> 00:00:58,490 You so. 13 00:00:59,890 --> 00:01:05,000 Let's set C learning and then initial project. 14 00:01:05,260 --> 00:01:11,800 All right, so once we're done with that, let us just click this small button right here, the small 15 00:01:11,800 --> 00:01:15,250 arrow, which says Project Interpreter, right here. 16 00:01:15,250 --> 00:01:17,890 We have two main options, these two radio buttons. 17 00:01:18,240 --> 00:01:18,330 Right. 18 00:01:18,430 --> 00:01:21,970 The first one is new environment using virtual environment. 19 00:01:22,250 --> 00:01:22,720 All right. 20 00:01:22,960 --> 00:01:25,830 And the second one is an existing interpreter. 21 00:01:26,770 --> 00:01:31,860 So just click this one and before clicking create, let's talk about it. 22 00:01:31,960 --> 00:01:33,230 What is an interpreter? 23 00:01:33,730 --> 00:01:38,710 So as I said in the previous lecture, guys, almost each lesson would have and it might be the attachment 24 00:01:38,710 --> 00:01:45,100 file that will be located on the toolbar under the lesson you're just watching right now. 25 00:01:45,340 --> 00:01:50,730 So open the PDF file and let's talk about it later. 26 00:01:50,750 --> 00:01:51,550 Use an interpreter. 27 00:01:51,850 --> 00:01:55,380 So an interpreter is a program that reads and executes code. 28 00:01:56,320 --> 00:01:59,810 This includes source code, pre compiled code and scripts. 29 00:02:00,280 --> 00:02:04,840 So what that means is after we going to write some called Arbitron, right. 30 00:02:05,230 --> 00:02:06,070 We add some code. 31 00:02:06,070 --> 00:02:10,750 We would like to execute it, to see the output, to see when we execute it. 32 00:02:10,750 --> 00:02:11,990 We would like to see the output. 33 00:02:12,310 --> 00:02:18,030 So once we click on play, some program needs to run it to read our code and to execute it. 34 00:02:18,250 --> 00:02:20,410 So the interpreter is the one that does it. 35 00:02:20,650 --> 00:02:22,060 The interpreter runs our code. 36 00:02:23,120 --> 00:02:23,640 All right. 37 00:02:24,070 --> 00:02:32,180 And also it's also the program that manages your modules of the programming language on your machine. 38 00:02:32,410 --> 00:02:36,340 So we're going to program on Python and on Python. 39 00:02:36,340 --> 00:02:43,390 We have modules or in other words, libraries, by the way, it's called as well, libraries on Java. 40 00:02:43,510 --> 00:02:43,890 All right. 41 00:02:44,080 --> 00:02:51,340 So we have libraries and these libraries give us the ability to do certain things on the code. 42 00:02:51,520 --> 00:02:52,900 And I'll give you an example. 43 00:02:53,680 --> 00:02:56,260 In each programming language, we have variables. 44 00:02:56,380 --> 00:02:56,860 All right. 45 00:02:57,010 --> 00:02:58,020 We have a variables. 46 00:02:58,240 --> 00:03:01,510 For example, we have an integer variable, which are numbers. 47 00:03:01,780 --> 00:03:07,780 We have string variables which represent letters. 48 00:03:07,990 --> 00:03:08,510 All right. 49 00:03:08,530 --> 00:03:12,010 And we also have, for example, an enum variable. 50 00:03:12,070 --> 00:03:13,480 It's a special kind of variable. 51 00:03:13,780 --> 00:03:19,570 And if you write in Python and Enum Variable in your code, it will say, hey, buddy, there is an 52 00:03:19,570 --> 00:03:19,830 error. 53 00:03:20,050 --> 00:03:21,790 I don't recognize what you just wrote. 54 00:03:22,090 --> 00:03:23,170 I don't know what it is. 55 00:03:23,170 --> 00:03:24,010 It's an error for me. 56 00:03:24,730 --> 00:03:29,830 And if you would like Python to recognize what you just wrote, which is an enum variable, you would 57 00:03:29,830 --> 00:03:37,380 have to download a special module, a special library that gives Python the abilities to read this variable. 58 00:03:38,380 --> 00:03:41,020 So all of that manages the interpreter. 59 00:03:42,100 --> 00:03:48,130 And as we said a few minutes a few seconds ago, so we have two kinds of interpretor options. 60 00:03:48,500 --> 00:03:53,070 When we create the new project, we have an existing interpreter and we have a virtual environment interpreter. 61 00:03:53,740 --> 00:04:02,260 So the difference is that if you use a virtual environment interpreter for the project and add or remove 62 00:04:02,260 --> 00:04:05,570 packages, it affects only the virtual environment. 63 00:04:06,580 --> 00:04:13,360 So what that means is that if we choose the top option, all right, if we go with this option and we 64 00:04:13,360 --> 00:04:18,730 download some libraries and then we use them, and then in a few days we would like to create a new 65 00:04:18,730 --> 00:04:19,270 project. 66 00:04:19,780 --> 00:04:26,230 And over there, the new project that we will create later on will not recognize the folders, older 67 00:04:26,230 --> 00:04:29,870 libraries, the libraries that we have just downloaded in this project. 68 00:04:31,000 --> 00:04:35,500 So it would not recognize the libraries that we downloaded for this project. 69 00:04:35,680 --> 00:04:40,420 And that's not good for us because we would like to download libraries and use them in all of our projects 70 00:04:40,420 --> 00:04:40,840 currently. 71 00:04:40,900 --> 00:04:41,950 This is our current goal. 72 00:04:43,150 --> 00:04:43,680 All right. 73 00:04:44,230 --> 00:04:50,090 And if you use the existing interpreter, then all changes will affect System-Wide. 74 00:04:50,140 --> 00:04:50,530 All right. 75 00:04:50,530 --> 00:04:51,910 System-Wide Interpretor. 76 00:04:52,180 --> 00:04:57,470 And these changes will be available in all projects that use that interpreter. 77 00:04:57,730 --> 00:05:04,060 So what you want to do is choose the existing interpreter and then all the libraries will select in 78 00:05:04,060 --> 00:05:09,640 the following lectures would affect future projects as well. 79 00:05:09,790 --> 00:05:14,020 So you will download the packages or the libraries once. 80 00:05:14,270 --> 00:05:14,700 All right. 81 00:05:15,130 --> 00:05:16,660 So choose the existing interpreter. 82 00:05:17,350 --> 00:05:17,730 Great. 83 00:05:18,100 --> 00:05:23,560 So if you see here, by the way, if you see here an empty line, you if you see here, that program 84 00:05:23,620 --> 00:05:26,320 cannot recognize where your python file is. 85 00:05:26,590 --> 00:05:33,250 Just click on the 3.0 the more button and then click, click the third option, the right Ryukyu sys 86 00:05:33,250 --> 00:05:33,880 interpreter. 87 00:05:34,510 --> 00:05:40,600 And if you see it's empty right here as well, just click on this one, three dots, which is the browser 88 00:05:40,600 --> 00:05:46,720 button, and then go to your go to your Python folder name folder. 89 00:05:46,720 --> 00:05:50,160 Click it twice and then you will see Python file right here. 90 00:05:51,730 --> 00:05:55,590 I'm going to cancel because it's recognisers for me, the Python text file. 91 00:05:55,720 --> 00:05:58,840 But if you're having trouble and it's not seeing the python. 92 00:05:59,300 --> 00:06:06,860 Just do as I said, so cancel and create, so our project has been created drums, please. 93 00:06:07,220 --> 00:06:09,480 Yeah, our project is great. 94 00:06:09,650 --> 00:06:11,660 Great show, guys. 95 00:06:12,140 --> 00:06:12,920 Congratulations. 96 00:06:12,920 --> 00:06:16,850 Our first project has been created right now. 97 00:06:16,850 --> 00:06:22,190 I'd like you to be able to file settings, just type in here project. 98 00:06:27,760 --> 00:06:33,640 All right, so once you find the project structure using the search bar right here on the left top corner, 99 00:06:34,120 --> 00:06:35,380 you will see this screen. 100 00:06:35,560 --> 00:06:35,940 All right. 101 00:06:35,950 --> 00:06:37,550 And you can see two buttons right here. 102 00:06:38,950 --> 00:06:45,580 I would like you to choose this item, which is our main folder of our project and click sources and 103 00:06:45,580 --> 00:06:47,300 have a look on this folder right here. 104 00:06:47,830 --> 00:06:55,580 The folder icon, you see it becomes blue and there is an item added right to you. 105 00:06:56,380 --> 00:06:57,790 What have we just did, guys? 106 00:06:57,800 --> 00:07:01,680 I'll explain to you right now what we just did. 107 00:07:01,810 --> 00:07:07,600 We defined to polytrauma that this folder is our main folder of our project. 108 00:07:07,750 --> 00:07:16,990 For example, if we open the Windows Explorer and we can see here that, for example, that this is 109 00:07:16,990 --> 00:07:25,990 the main folder and if we go downwards, you can see that C is like a child item under this in the hierarchy. 110 00:07:25,990 --> 00:07:26,310 Right. 111 00:07:26,710 --> 00:07:34,190 And then inside C, you can see here audacity, for example, we open this as well. 112 00:07:34,300 --> 00:07:40,630 And this is the child of C, but all in all, they're all child of these Beezy, like these species, 113 00:07:40,630 --> 00:07:41,140 the parent. 114 00:07:41,710 --> 00:07:46,800 So what we just did, we're told by Trum that this is our parent folder and this is important. 115 00:07:46,840 --> 00:07:47,210 All right. 116 00:07:47,740 --> 00:07:50,680 So once it mongst with blue, just click. 117 00:07:50,710 --> 00:07:53,170 OK, great. 118 00:07:53,800 --> 00:07:55,770 So we're done with this part as well. 119 00:07:56,140 --> 00:08:02,050 By the way, guys, I don't know if you noticed, but I'm not going to teach you lessons in a robot 120 00:08:02,050 --> 00:08:02,960 type of way. 121 00:08:03,310 --> 00:08:08,230 Every part I would explain to you deeply, you could teach it to others and you could explain it to 122 00:08:08,230 --> 00:08:08,710 others. 123 00:08:08,800 --> 00:08:10,210 I don't want you to be robots. 124 00:08:10,210 --> 00:08:12,310 I don't want you to just click next, next, next. 125 00:08:12,460 --> 00:08:14,800 And as well as everything works, you're happy. 126 00:08:14,800 --> 00:08:17,440 I would like you to understand deeply everything that you'll do. 127 00:08:17,560 --> 00:08:18,610 So it will be. 128 00:08:18,610 --> 00:08:20,440 And this way, all of the course. 129 00:08:21,310 --> 00:08:26,050 And it's very important for me, I think, and it's very important for you guys as well, because I'm 130 00:08:26,050 --> 00:08:28,300 sure you want to understand everything you're doing. 131 00:08:30,160 --> 00:08:31,210 So let's continue. 132 00:08:32,410 --> 00:08:39,550 Let's open our video file and go to the second part, which is personal customization for Biljana. 133 00:08:39,760 --> 00:08:44,080 So PACOM, as I said before, will be the place where we write our code. 134 00:08:44,290 --> 00:08:48,580 And once we have done files, it's pretty easy to navigate between the files. 135 00:08:48,730 --> 00:08:54,250 But once you have one hundred files or two hundred files, you would want to do the navigation between 136 00:08:54,250 --> 00:08:58,780 them to be comfortable and fast and most important, efficient. 137 00:08:59,290 --> 00:08:59,830 All right. 138 00:08:59,830 --> 00:09:02,500 So this is what we're going to do in this part of the lecture. 139 00:09:03,040 --> 00:09:06,430 We are customized by ARM, so it will be comfortable for us. 140 00:09:06,730 --> 00:09:13,870 And the first part will be changed, the font of the default fonts, a function that I find them hard 141 00:09:13,870 --> 00:09:14,470 for the eyes. 142 00:09:15,340 --> 00:09:20,500 So just go to file settings in the search bar and type in font. 143 00:09:21,580 --> 00:09:24,880 And you can see here a font item. 144 00:09:24,880 --> 00:09:30,160 Just click on it, then write to you and the yellow marked space field. 145 00:09:30,250 --> 00:09:33,340 Just click on it and whatever you had here. 146 00:09:33,460 --> 00:09:33,940 All right. 147 00:09:33,940 --> 00:09:36,970 I think it's just brain model, the default item. 148 00:09:37,240 --> 00:09:40,630 Just go to the top and use Consuelo's. 149 00:09:40,690 --> 00:09:41,170 All right. 150 00:09:41,500 --> 00:09:44,290 I find it the most easy on the eyes. 151 00:09:44,290 --> 00:09:47,110 Font you can drive can try other fonts as well. 152 00:09:47,320 --> 00:09:51,910 But my recommendation, my taste is Komisar is really is very easy for the eyes. 153 00:09:52,690 --> 00:09:53,290 All right. 154 00:09:53,620 --> 00:09:57,670 And afterwards go to editor and font. 155 00:09:58,570 --> 00:09:59,320 All right. 156 00:09:59,830 --> 00:10:03,460 So basically we have Gonzalo's all right. 157 00:10:03,460 --> 00:10:09,790 And then here on the fall-back font also choose Gonzalo's and then click. 158 00:10:09,790 --> 00:10:12,370 OK, amazing. 159 00:10:13,570 --> 00:10:18,160 So now that we created our project, we configured our interpreter. 160 00:10:18,310 --> 00:10:21,790 We have set our fonts to be customizable for us. 161 00:10:22,210 --> 00:10:25,600 Let's manage our hotkeys or our key map. 162 00:10:26,020 --> 00:10:31,690 So basically, as I said a few minutes ago, you would like the navigation, but with the files that 163 00:10:31,690 --> 00:10:36,520 you will create in your project to be easy and fast and efficient, so far that we have showed keys 164 00:10:36,520 --> 00:10:38,290 for us and we'll use them. 165 00:10:38,440 --> 00:10:40,990 So right here in the search bar and just type in IMAP. 166 00:10:44,460 --> 00:10:51,750 OK, and you have another search bar on the right, right here and type in here, find in both. 167 00:10:54,610 --> 00:11:02,170 This item will give you the ability to search for any part of your code anywhere in the project. 168 00:11:02,560 --> 00:11:09,220 So, for example, if you have the word house written on 10 places on your project, once you use this 169 00:11:09,220 --> 00:11:15,880 finding path feature, it will show you all the places that the word house appears in your project. 170 00:11:16,300 --> 00:11:18,560 This is very, very efficient and very useful. 171 00:11:18,880 --> 00:11:25,900 So just right, click on it, click, add keyboard shortcut and then use the keys simultaneously alt 172 00:11:25,900 --> 00:11:32,270 and f click on them together and you can see are represented in this field here and click OK. 173 00:11:32,830 --> 00:11:33,330 All right. 174 00:11:34,180 --> 00:11:36,670 Next one in line is forward. 175 00:11:38,680 --> 00:11:45,160 Just stepping forward and you can see a forward item right here with a small arrow to the right, so 176 00:11:45,160 --> 00:11:53,320 the forward item represents the behavior, same as you have on your chrome, for example. 177 00:11:53,890 --> 00:12:00,520 So if you go forward or you go backward in your pages, these two arrows give you the ability to do 178 00:12:00,520 --> 00:12:00,720 it. 179 00:12:01,480 --> 00:12:04,900 It just brings you to the last page you've been on. 180 00:12:05,440 --> 00:12:10,840 Or if you go backwards in eight, then you can use this button to go forward on the last page that you've 181 00:12:10,840 --> 00:12:17,590 been on, on the forward side, and this is the exact opposite is the exact same thing, because sometimes 182 00:12:17,590 --> 00:12:23,560 you would like to change code on three or four locations and just navigate between files, between Python 183 00:12:23,560 --> 00:12:29,830 files, and you need to go forward or backward in the preview into the previous file. 184 00:12:30,010 --> 00:12:36,160 Instead of looking at right here in the file list, you can just use this hotkey and go quickly to where 185 00:12:36,160 --> 00:12:36,670 you want to go. 186 00:12:37,150 --> 00:12:48,340 So click, add keyboard key and then click out and these square parented parentheses that are showing 187 00:12:48,340 --> 00:12:49,180 to the left. 188 00:12:50,390 --> 00:12:50,860 All right. 189 00:12:51,010 --> 00:12:55,780 And the reason that I've chosen it, because if you look in your keyboard, you can see this square 190 00:12:55,780 --> 00:13:02,570 parentheses and this one is on the right side while his brother. 191 00:13:03,130 --> 00:13:03,600 All right. 192 00:13:03,610 --> 00:13:06,940 Well, his brother, this one goes on the keyboard. 193 00:13:06,940 --> 00:13:08,050 It's the left one. 194 00:13:08,470 --> 00:13:16,660 So it's really logical that the left key on your keyboard, the left key would be backward and this 195 00:13:16,660 --> 00:13:18,030 one would be forward. 196 00:13:18,430 --> 00:13:27,370 So just select the right key of square parentheses so it would be forward, then click, OK, it's right 197 00:13:27,370 --> 00:13:27,640 here. 198 00:13:30,050 --> 00:13:31,400 Danti been here back. 199 00:13:34,200 --> 00:13:39,360 And also, you can see the back of them with an arrow to the left, right here, right, click on it 200 00:13:39,660 --> 00:13:46,890 at the keyboard shortcut and alt and square parentheses showing to the right. 201 00:13:47,880 --> 00:13:48,320 All right. 202 00:13:48,330 --> 00:13:49,560 So this is the back one. 203 00:13:51,180 --> 00:13:51,830 All right. 204 00:13:52,200 --> 00:13:55,720 So then click on apply and. 205 00:13:55,800 --> 00:13:57,830 OK, all right. 206 00:13:57,840 --> 00:13:59,430 So we're finished. 207 00:14:00,030 --> 00:14:06,060 So what we have did in this lecture, first of all, we created the by Python project in our by chance. 208 00:14:06,270 --> 00:14:08,510 And then we configured an interpreter. 209 00:14:08,520 --> 00:14:10,730 We also talked about what is an interpreter. 210 00:14:11,070 --> 00:14:17,670 And then in the second part, we personalized that, customized our picture using fonts that are easy 211 00:14:17,670 --> 00:14:18,390 for the eyes. 212 00:14:18,510 --> 00:14:26,040 And also, we have said hotkeys that are very useful for us, and I'm sure that you use them a lot. 213 00:14:26,850 --> 00:14:30,210 All right, guys, we're done for this lecture, see in the next lesson.