1
00:00:00,000 --> 00:00:00,680
2
00:00:00,680 --> 00:00:04,430
ZAMYLA CHAN: world, and
welcome to the world of Python.
3
00:00:04,430 --> 00:00:09,020
Recall back to the very beginning of
the course, when syntax like this in C
4
00:00:09,020 --> 00:00:12,230
might have seemed very
strange and unfamiliar.
5
00:00:12,230 --> 00:00:16,670
Well, moving on to Python, the same
program can be written in just one
6
00:00:16,670 --> 00:00:19,370
line-- the print statement
("hello, world")--
7
00:00:19,370 --> 00:00:22,520
and there you have your
very first Python program.
8
00:00:22,520 --> 00:00:26,210
Now to run it in C, if we
had a file called hello.c,
9
00:00:26,210 --> 00:00:29,690
then we would compile it in
the terminal, make hello,
10
00:00:29,690 --> 00:00:34,220
and then we would run that
executable file with ./hello.
11
00:00:34,220 --> 00:00:38,330
Now when we have our Python
file, hello.py, then we'd
12
00:00:38,330 --> 00:00:43,910
run it by typing into the
command line, python hello.py.
13
00:00:43,910 --> 00:00:46,900
And there you have your
very first Python program.
14
00:00:46,900 --> 00:00:51,130
My name is Zamyla and this was hello.
15
00:00:51,130 --> 00:00:53,799