Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
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.