WEBVTT

00:01.400 --> 00:07.520
Okay, because this is going to be a complete Python course.

00:07.760 --> 00:14.160
So it is necessary to cover all parts of Python, even the fundamental part.

00:14.200 --> 00:15.120
Okay.

00:15.120 --> 00:18.680
So here you're going to learn the basics of Python.

00:18.680 --> 00:20.560
If you know the basics of Python.

00:20.560 --> 00:26.240
So you don't need to follow this section, you can move to the next section which is changing the Mac

00:26.240 --> 00:26.800
address.

00:27.280 --> 00:32.800
So if you don't know how to use a Python how to create a program in Python.

00:32.800 --> 00:35.080
So continue following this section.

00:35.440 --> 00:43.840
So here we are going to open our IDE which is disk okay I hit windows Key and search for VSCode Visual

00:43.840 --> 00:46.680
Studio Code and open this okay.

00:48.600 --> 00:52.640
So just we are waiting for a while now.

00:52.640 --> 00:54.680
It is opened and it has nothing here.

00:54.720 --> 01:01.190
Okay, I hit this part okay which is explorer and I hit open Folder.

01:02.390 --> 01:07.150
And let's go to Document folder here create another folder.

01:07.150 --> 01:15.190
Let's name it uh Python for ethical hacking okay.

01:15.670 --> 01:18.670
So this is going to be a general folder.

01:18.790 --> 01:25.190
So we have we could have all the sections inside this folder, all the source code okay.

01:25.230 --> 01:27.750
So I could share them with you.

01:27.750 --> 01:33.870
And here inside this I can create a folder by clicking new folder.

01:34.510 --> 01:40.750
And here let's name it Python fundamental or Python Basics.

01:41.670 --> 01:46.310
And inside here okay I can create a new file.

01:46.870 --> 01:48.190
Let's hit this one.

01:48.190 --> 01:57.710
It has a new file and let's name it uh first dot pi because it is going to be our first application

01:57.750 --> 02:00.150
or first program that we are going to run it.

02:00.150 --> 02:00.590
Okay.

02:02.350 --> 02:09.230
And here let's go and learn how we can run our first program in Python.

02:09.270 --> 02:09.510
Okay.

02:09.550 --> 02:10.550
It is very easy.

02:10.670 --> 02:14.630
You just create your file that is here okay.

02:14.670 --> 02:22.910
We created and let's go and execute a simple command that is called print.

02:23.230 --> 02:27.150
And let's print something like hello.

02:29.390 --> 02:30.790
World okay.

02:30.790 --> 02:33.190
And use Ctrl S to save this.

02:33.550 --> 02:38.150
And right here hit terminal and open a new terminal.

02:40.750 --> 02:46.590
Okay here let's use Python and then hit space.

02:46.590 --> 02:50.630
The name of your file it is first.py.

02:50.630 --> 02:57.430
And make sure that you are in the exact location your where this file is located.

02:57.430 --> 03:00.150
As you see right now we are into the document.

03:00.150 --> 03:01.980
And then Python political hacking.

03:02.420 --> 03:08.980
Now if I execute this so it will not be executed because we are not the place where the file is.

03:09.100 --> 03:12.420
Now if I hit enter, it says current open file.

03:12.900 --> 03:18.260
And now if I use pwd there is a command that we already learned something about.

03:18.260 --> 03:18.780
Okay.

03:18.820 --> 03:20.820
See it is Python for ethical hacking.

03:21.060 --> 03:23.460
So we need to change this to Python basic okay.

03:23.500 --> 03:25.580
So let's use Python.

03:25.860 --> 03:31.260
Sorry okay CD Python basics hit enter.

03:31.300 --> 03:36.580
Now let's clear this and now use Python first.py hit enter.

03:36.900 --> 03:40.260
Now you see that hello world is here.

03:40.300 --> 03:41.060
Okay.

03:41.100 --> 03:42.220
So congratulations.

03:42.220 --> 03:46.620
You just executed your first program in Python, which was Hello world.

03:47.020 --> 03:55.420
So here I'm going to teach this Python with examples completely practical.

03:55.420 --> 03:59.180
So you could learn this very easily and very fast.

03:59.540 --> 04:01.460
So see you in the next lecture.
