All language subtitles for 004 Setting up Python on Mac-subtitle-en

af Afrikaans
ak Akan
sq Albanian
am Amharic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

1

Hi and welcome to this new lecture, in

this lecture you're going to learn how

3

to set up Python in a Mac computer so if

you are Windows user you can skip this

5

lecture because you have a Windows

computer and we explained how to set up

7

platform on Windows previously in the

previous lectures and the instructions

9

or will also work for Linux computers

because a Mac is based on Unix and so

11

let's begin, first thing you need to know

is that you already have Python on your

13

Mac so Python comes shipped with Mac by

default now let's go and open Python.

15

I'm going to click here and then type

terminal and then open a terminal app so

17

terminal is equivalent of a command line

on Windows and here no let's go ahead and

19

open Python, you can simply call Python

and if you see these three arrows there

21

that means you are able to start a Python

session so good news, however if you

23

look here you'll see this is Python 2.7

so it's a bit outdated and the current

25

version of python is Python 3 so it's

recommended that you actually install

27

Python 3 on your Mac or Linux instead of

using the old version Python 2.7 because

29

we're going to use a lot of libraries

later on the course and some libraries

31

may not be compatible for Python 2.7. You

can still work with to python 2.7 if you

33

take the responsibility to fix errors

and compatibility issues that may arise

35

as you learn Python, so it's going to be

maybe some extra work, however I advise

37

you to install Python 3, so I'm going to

exit Python 2 and the Python 2 session, exit

39

and two brackets and you go again back

to the terminal. To install Python 3 open

41

a browser

and then you should go to python.org, then go to

43

downloads and then install the latest

version of Python which should be shown

45

here so python 3.6 is the current

version and that should download

47

Python, you can see this bar in here and so

please don't uninstall Python 2.7 if you

49

are planning to install Python 3.6

because Python 2.7 is connected to your

51

operating system so if you uninstall it

it you may harm your operating

53

system, so you may get some messy errors

there so simply ignore python 2.7 and so

55

leave it be, don't uninstall it and

simply click on this package that

57

you had just downloaded you should see

the installation wizard so simply go

59

and click continue, continue, continue

again and read the license if you like.

61

I'm going to go and click on agree and than

install provide your user name in there, your

63

Mac user name, click on install software

and so finally the installation was

65

smooth and it was successful, click on

Close, I'm going to move it to trash.

67

So the installation package and now go

ahead and go back to terminal, so

69

again if you enter Python you're going

to get Python 2.7, so how do you get

71

Python 3? Well exit and simply click

Python 3 just like that execute and

73

you'll see that this is Python 3.6.

And yeah good luck. And so normally this

75

is the command you will be using on Mac

which means whenever I type Python on

77

Windows you're going to type Python 3 on

Mac or Linux as easy as that, so now you

79

have Python installed and here you can

do operations, you know you get the idea.

81

However please note that what we do here

we programming interactively so we're

83

simply writing some lines with code but

these lines will not be saved anywhere if

85

we write them in this interactive

Session, so what we want to do is we want

87

to write scripts of code, so Python files

which we can save, we can save the code

89

and we can execute all the lines at one

and we'll be doing that in the next

91

lecture so please follow me and I hope

it works for you and I'll talk to you in

93

the next lecture.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.