Dataset Viewer
Auto-converted to Parquet Duplicate
start
float64
0
13k
end
float64
6.18
13k
text
stringlengths
1
149
audio
audioduration (s)
0
17.6
0
6.18
hello everyone welcome to this video this tutorial is a python full course
6.18
9.02
we are going to be learning python programming from scratch
10.38
16.46
so this is a list of everything we're going to be talking about in this video so let me give a
16.46
22.24
brief introduction to python so python is one of the fastest growing programming languages in the
22.24
29.84
world with python you can go into various fields like machine learning and ai web development and
29.84
35.92
plenty others so taking to learn this course and choosing to learn python is a very good decision
35.92
41.4
for your programming journey so without wasting any time let's get straight into the tutorial
46.74
53.8
so right here i'm just on my browser so we're gonna download python on our laptop so to do this
53.8
64.52
i'm just gonna search for download python for windows since i'm on a windows and then i'm gonna
64.52
72.22
click on the first link and then right here i see download python 3.9.1 which is the latest version
72.22
77.72
so i'm just gonna click on it and then you can see here that it downloaded it automatically
78.5
83.96
so i already have python downloaded now what i just need to do is to install it so i'm just gonna
83.96
92.78
come into where i saved it and then i'm gonna run it so make sure that when you are installing python
92.78
98.3
you must stick this add python to part if not you're just gonna make it more complex than it's supposed
98.3
107.14
to be for you so let's click install now yes and so this is just gonna install python
107.72
116.68
on our machine it should take a few minutes a couple of minutes to install and i'm gonna be back
116.68
123.26
when it's installed finish so right now the setup was successful so as you can see the installation
123.26
130.26
has been done so i can just click on close now for me to confirm if i have python installed i'm gonna open
130.26
137.62
up my command prompt so here in my command prompt i'm just gonna type python once i type
137.62
142.62
it you should open up this shell you might not understand what all this is now but this is just
142.62
149.56
to verify if python was truly installed so now that we know we have python installed let's just go ahead
149.56
157.52
and install our code editor so python is the programming language but where we are going to code where we are
157.52
162.68
going to program everything or the python we're going to do is going to be in a code editor and there are
162.68
168.08
various code editors out there we have visual studio code we have pi charm we have sublime text we have
168.08
174.3
atom there are countless out there but for this tutorial we're going to be using visual studio code
174.3
180.78
so let's go ahead and download it so i can close up my command prompt right now so let me just say that
180.78
187.52
if you don't know how to get to your command prompt you can just search for it on your windows search bar
188.98
198.2
so right here we can just go back to google and then we can search for let's say download visual studio code
199.42
205.34
and i'll just click on the first one so since i'm on a windows i'm going to download the one for windows
205.34
212.66
if you are on ubuntu or linux or mac download the one for your os so right now you can see that it is
212.66
220.48
downloading so i already have it downloaded i have it on my pc i'm just going to cancel that since i
220.48
227.62
already have it downloaded let me just show you the installation process so right here i have it
227.62
235.82
downloaded already we just click on enter that's to run it so what it tells me here is that setup has
235.82
241
detected that visual studio code is running so this simply means that i already have visual studio code
241
248.36
installed on my computer so i'm just going to press cancel but for you as a beginner you want to
248.36
255.1
install this as a new software so when we already have this installed we're just going to open up our
255.1
261.44
visual studio code and this is what it should look like once you first open it up so now we have
261.44
267.16
everything set up we downloaded python and installed it and then we downloaded visual studio code and
267.16
279.08
installed it now we can go straight into coding so now that we have everything installed what we just
279.08
286
want to do is to create a new file in this file is where we're going to code all our python so in visual
286
293.14
studio code we're just going to come into the toolbar and click on new file so once we click on new file
293.14
300.94
you can see it automatically has its untitled name but we want to save it by pressing ctrl s and i'm just
300.94
312.2
going to save it first of all let me say all files and then now to save it as app dot py so the name of
312.2
319.9
the file is app but at the bottom at the file extension i used dot py so anytime we're working with python
319.9
327.2
any time we want to create a new python file it must always have the extension dot py that will make
327.86
333.32
whatever we're running on know that we are using a python file so now once i save it
334.98
340.72
it's updated here and as you can see visual studio code automatically detects the logo of python
340.72
348.84
now that's how to save create and save a new python file so this is basically how everything looks like
348.84
357.06
in visual studio code on the left hand bar we have a folder bar that's where if we are opening a folder
357.06
362.22
this is where we're going to see all the files and folders in there we have this search this
363.24
369.02
github we don't need to bother about that for now but this is how visual studio code looks like
369.8
377.56
so since we have everything we know how to create a new file what we want to talk about now is the print function
378.12
385.68
so in python we have some built-in functions that means some things that are already done automatically
385.68
391.1
which we don't need to write too much of code now let's say we just want to print uh
391.7
397.84
text to the screen like we just want to show a user like hello world or welcome we're going to use the
397.84
403.1
print function you're just going to print a basic text to the screen now for us to do this we're going to
403.1
410.04
say print and then we're going to open parenthesis and then we can use single codes or we can also
410.04
415.58
use double codes there is no problem here in python but we can just go with single code so you can just
415.58
422.24
pick one and go with that so in this code i'm going to write my text and i can say hello world
426.72
434.1
now as you can see i have printed hello world and i must make sure i save this file and then for me to
434.1
440.4
run this python file for me to see the output of my code i'm going to have to come to the right hand
440.4
446.62
corner right here and click on run now once i click on run you see that it opens a new terminal
446.62
453.36
automatically and our code is going to be run in this terminal so if you just wait a second we're
453.36
458.52
going to see the output of this code you can see right here that we have a low world automatically it
458.52
462.9
prints a low world if i say hello world welcome
465.72
474.38
and i run it you see it changes and it says hello world welcome so that's how to run a python file
475.24
483.84
now let's talk about some more features about this print function now let's say we want to print on a
483.84
490.38
new line like hello world and we want this welcome to be on another line we can easily do that we can just
490.38
491.02
remove this
495.02
497.86
and then on a new line we're just going to print
500.56
509.38
welcome exactly the same thing now once i run it you can see it says hello world down here and it
509.38
516.18
says welcome so that's how to print on a new line we can also do a lot of things let's say we want to
516.18
526.3
add another value to this hello world like let's print a sentence let's say my name is told me and
526.3
537.28
then i want to say my age is then i can add a comma right here and say 100 so this will automatically
537.28
546.46
tell python that this is a number and it's no more a string just a normal character so now once i run it
547.28
553.42
you're gonna see it says my name is tommy my name is 100 with no errors and automatically you see that
553.42
560.38
it leaves a space right here right here we didn't leave a space but automatically once we put this
560.38
568.4
number here it leaves a space to clarify that if i put don't leave no space and i run it you see that
568.4
574.22
the space is still there so that's just a smart feature of python so i think that's gonna be all
574.22
575.62
for the print function
581.98
589.22
now let's talk about variables in python as you can see here i have three print function the first
589.22
595.3
one says tim is a boy the second one says tim is 18 and the third one says tim is from turkey
595.88
603.36
so as you can see in the three print functions i'm repeating tim three times now we can use variables
603.36
611.64
instead of repeating a particular text now variables are just basically saving a data in the memory of
611.64
617.66
python and then we can get that data back by referencing its name so let's see this in action
618.56
626.48
let's say above the code i have a variable named name so this name is the name of the variable
627.18
635.54
and i'm saying equals to i put single codes and the name is team so name is the name of the variable
635.54
643.06
and team is the value assigned to this name so like this we've saved this variable up here
643.68
650.5
so we can print that variable once you say print whenever we are printing a variable we don't put
650.5
656.1
codes like we do when we are printing a normal string so we can remove the codes and just type the name of
656.1
662.92
the variable which is name so now when i run this you are going to see it prints all this and on the
662.92
669.82
fourth line it prints team it didn't print name now this is what variable is about it's just basically
669.82
677.88
saving a particular data and then referencing it through the variable name so now instead of saying
677.88
685.76
team three times we can just replace this team with name and for us to do this right here you see we
685.76
694.32
printed only the variable and we didn't have quote but right here we are printing string with quote and
694.32
700.44
we also want to print the variable with it so this is called concatenation we are going to join the
700.44
710.02
variable and the normal string together to do this let's remove team and we are going to say name which
710.02
717.48
is the name of the variable plus the remaining text now once we say name plus is a boy it's going to print
717.48
727.2
us team is a boy so we can also do the same right here we just simply remove team and we say name plus
727.2
735.88
is 18 we do the same for the third line we'll say name plus is from turkey now once we print this
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4