Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,133 --> 00:00:01,333
what's up everybody
2
00:00:01,333 --> 00:00:03,133
in this video I'm going to teach you
3
00:00:03,133 --> 00:00:05,733
everything you need to know to start coding with Python
4
00:00:05,733 --> 00:00:07,400
I've also included 20
5
00:00:07,400 --> 00:00:09,666
different hands on projects to help you learn
6
00:00:09,666 --> 00:00:10,500
you can find
7
00:00:10,500 --> 00:00:13,300
the entire list in the description of this video
8
00:00:13,300 --> 00:00:14,700
our final project
9
00:00:14,700 --> 00:00:15,766
will be a weather app
10
00:00:15,766 --> 00:00:18,666
that fetches real time weather data from an API
11
00:00:18,900 --> 00:00:21,500
even if you've never coded anything in your life before
12
00:00:21,566 --> 00:00:23,133
I'll walk you through the basics
13
00:00:23,133 --> 00:00:24,900
the ABCs of programming
14
00:00:24,900 --> 00:00:26,300
if that sounds good to you
15
00:00:26,300 --> 00:00:28,400
then I encourage you to sit back
16
00:00:28,466 --> 00:00:30,866
relax and enjoy the show
17
00:00:33,533 --> 00:00:35,333
this course doesn't cost you anything
18
00:00:35,333 --> 00:00:37,100
but if you would like to help me out
19
00:00:37,100 --> 00:00:39,500
you can help increase its reach by hitting the like
20
00:00:39,500 --> 00:00:41,800
button leave a random comment down below
21
00:00:41,800 --> 00:00:44,266
and subscribe if you'd like to be a fellow bro
22
00:00:44,366 --> 00:00:46,100
thank you I appreciate it
23
00:00:46,966 --> 00:00:48,533
I don't like boring introductions
24
00:00:48,533 --> 00:00:50,166
so I say we just jump right in
25
00:00:50,400 --> 00:00:52,300
there's two things we'll need to download
26
00:00:52,333 --> 00:00:54,566
the first is a Python interpreter
27
00:00:54,600 --> 00:00:57,400
to convert our written code to machine code
28
00:00:58,100 --> 00:00:59,866
we're going to head to Python
29
00:00:59,900 --> 00:01:02,600
org go to downloads
30
00:01:03,466 --> 00:01:05,566
and download the latest version
31
00:01:06,933 --> 00:01:08,866
we will open this executable
32
00:01:10,133 --> 00:01:13,766
if you're on Windows you'll want to check this checkbox
33
00:01:14,000 --> 00:01:16,466
add Python exe to path
34
00:01:16,866 --> 00:01:18,333
and we will install now
35
00:01:22,566 --> 00:01:24,166
the setup was successful
36
00:01:24,266 --> 00:01:25,733
and that's all you need to do
37
00:01:25,733 --> 00:01:27,533
to download the Python interpreter
38
00:01:28,900 --> 00:01:31,600
the second download we'll need is an IDE
39
00:01:32,000 --> 00:01:34,200
an integrated development environment
40
00:01:34,466 --> 00:01:38,133
basically a place where we can write code for IDEs
41
00:01:38,133 --> 00:01:41,266
there's two popular choices when writing pipe on code
42
00:01:41,366 --> 00:01:43,666
Pie Charm and VS code
43
00:01:43,966 --> 00:01:47,166
if you already use VS code you can stick with that
44
00:01:47,266 --> 00:01:49,566
just be sure to download the Python extension
45
00:01:49,666 --> 00:01:51,933
I find Pie Charm more beginner friendly
46
00:01:51,933 --> 00:01:53,400
if you've never coded before
47
00:01:53,600 --> 00:01:56,700
if you would like to use Pie Charm go tojetbrains
48
00:01:56,700 --> 00:01:58,466
com Pie Charm
49
00:02:00,066 --> 00:02:02,566
and we will click this green download button
50
00:02:03,900 --> 00:02:05,766
there's two versions of Pie Charm
51
00:02:06,166 --> 00:02:09,300
the professional version and the community version
52
00:02:09,666 --> 00:02:11,533
the professional version is paid for
53
00:02:11,566 --> 00:02:13,466
I would not recommend using it
54
00:02:13,466 --> 00:02:16,600
only because there's plenty of free IDEs on the market
55
00:02:16,866 --> 00:02:19,200
we'll use the Community Edition the free one
56
00:02:19,400 --> 00:02:21,000
because I don't like to pay for things
57
00:02:21,000 --> 00:02:22,466
and I'm sure you don't either
58
00:02:23,366 --> 00:02:25,900
select the correct download for your operating system
59
00:02:26,100 --> 00:02:27,300
I'm running Windows
60
00:02:27,300 --> 00:02:28,800
I will download Pie Charm
61
00:02:31,066 --> 00:02:32,966
we will open this executable
62
00:02:34,800 --> 00:02:38,566
click next you could select a destination folder
63
00:02:38,900 --> 00:02:40,266
I'll keep it as is
64
00:02:40,700 --> 00:02:43,766
next I'll create a desktop shortcut
65
00:02:44,666 --> 00:02:46,466
but you don't necessarily need to
66
00:02:47,133 --> 00:02:48,300
click next
67
00:02:48,933 --> 00:02:49,800
install
68
00:02:50,500 --> 00:02:52,100
and we'll just have to give it a moment
69
00:02:54,866 --> 00:02:56,500
okay the setup is now complete
70
00:02:57,266 --> 00:02:59,533
I'll check this checkbox to run Pie Charm
71
00:02:59,533 --> 00:03:00,933
when we close this window
72
00:03:02,966 --> 00:03:04,566
after opening Pie Charm
73
00:03:04,800 --> 00:03:06,466
we're going to create a new project
74
00:03:07,400 --> 00:03:09,466
you can rename your Python project
75
00:03:09,500 --> 00:03:10,766
I'll keep it as is
76
00:03:11,300 --> 00:03:12,866
you can select a location
77
00:03:13,133 --> 00:03:14,666
again I won't change that
78
00:03:14,866 --> 00:03:17,266
you can create a sample welcome script
79
00:03:17,266 --> 00:03:19,200
but for this tutorial we won't
80
00:03:19,366 --> 00:03:21,733
let's select the latest Python version
81
00:03:23,533 --> 00:03:25,266
and create our new project
82
00:03:26,866 --> 00:03:28,266
in the menu to the left
83
00:03:28,466 --> 00:03:31,400
we're going to create a new Python file file
84
00:03:31,600 --> 00:03:33,866
new Python file
85
00:03:35,200 --> 00:03:37,100
let's name this file main
86
00:03:38,566 --> 00:03:40,200
but really you can name it anything
87
00:03:40,800 --> 00:03:42,666
and select Python file
88
00:03:44,466 --> 00:03:47,700
Python files end with the py file extension
89
00:03:50,066 --> 00:03:52,066
we should have our main Python file
90
00:03:52,066 --> 00:03:53,966
within our Python project folder
91
00:03:54,500 --> 00:03:55,933
now we're going to print something
92
00:03:55,933 --> 00:03:57,300
to the console window
93
00:03:57,933 --> 00:03:59,500
within our main Python file
94
00:03:59,800 --> 00:04:01,600
we're going to write a print statement
95
00:04:01,966 --> 00:04:03,333
so type print
96
00:04:03,700 --> 00:04:05,166
add a set of parentheses
97
00:04:05,533 --> 00:04:07,133
between the set of parentheses
98
00:04:07,133 --> 00:04:10,566
we will add a set of double quotes to print something
99
00:04:10,933 --> 00:04:12,200
or single quotes
100
00:04:12,400 --> 00:04:13,200
either one
101
00:04:13,866 --> 00:04:15,933
my own preference is double quotes
102
00:04:16,533 --> 00:04:18,533
normally in a programming tutorial
103
00:04:18,900 --> 00:04:20,966
the instructor would tell you to print something
104
00:04:20,966 --> 00:04:22,733
such as Hello World
105
00:04:22,800 --> 00:04:24,533
but we like to be different here
106
00:04:25,533 --> 00:04:27,733
instead think of your favorite food
107
00:04:28,266 --> 00:04:30,000
in this case I like pizza
108
00:04:30,133 --> 00:04:33,666
I will print I like pizza
109
00:04:35,266 --> 00:04:37,000
to run our Python program
110
00:04:37,500 --> 00:04:39,266
we will click the screen arrow
111
00:04:39,700 --> 00:04:41,533
to run our main Python file
112
00:04:43,733 --> 00:04:45,533
we should have a console window
113
00:04:45,533 --> 00:04:47,066
that displays our output
114
00:04:47,200 --> 00:04:50,300
I like pizza or whatever your favorite food is
115
00:04:51,200 --> 00:04:52,933
let's print another line of code
116
00:04:54,200 --> 00:04:55,366
let's print
117
00:04:57,666 --> 00:05:00,133
it's really good
118
00:05:02,533 --> 00:05:04,333
by adding a second print statement
119
00:05:04,366 --> 00:05:07,066
we are printing a second line of code
120
00:05:08,700 --> 00:05:10,300
now we'll discuss comments
121
00:05:10,966 --> 00:05:14,200
the Python interpreter doesn't output comments
122
00:05:14,566 --> 00:05:15,566
to write a comment
123
00:05:15,800 --> 00:05:17,333
you use a pound sign
124
00:05:17,466 --> 00:05:19,133
I like to call this a hashtag
125
00:05:19,800 --> 00:05:23,400
my comment will be this is my first
126
00:05:24,000 --> 00:05:25,800
Python program
127
00:05:26,866 --> 00:05:29,166
comments are used as notes for yourself
128
00:05:29,166 --> 00:05:31,366
or for other people reading this code
129
00:05:32,000 --> 00:05:33,600
if I were to run this code again
130
00:05:34,133 --> 00:05:36,866
this comment is not displayed to the output
131
00:05:37,300 --> 00:05:39,300
we still have I like pizza
132
00:05:39,366 --> 00:05:40,366
it's really good
133
00:05:40,800 --> 00:05:41,600
alright everybody
134
00:05:41,600 --> 00:05:44,466
so that is your very first Python program
135
00:05:44,466 --> 00:05:47,166
and in the next topic we'll discuss variables
9589
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.