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
Hello again. This is yet another lecture
for Mac users and in this s lecture I'm going
3
to show you how to set up for the Atom
editor on a Mac computer so if you're a
5
Windows user please skip this lecture.
Atom is quite an advanced editor but if
7
you have your favorite editor by now you
can go ahead and use that editor so
9
that's perfectly fine. If you choose to
Look, to have a look at the Atom editor
11
then please follow this lecture.
First of all you're going to have to
13
download Atom. Simply search for Atom
editor and then go to its website which
15
Atom.io, download for Mac and
so while you wait for the download this
17
is how the Atom editor will look like so
like that and so the download has finished
19
on my end and you can go and click Atom.
Click open and basically Atom
21
has been downloaded and has been
installed so you've got a welcome guide
23
in here, you can close that. This is
an empty file. I'm going to close it as
25
well and let me close Atom and try to
show you how to actually open it from
27
Scratch, so how to start Adam from the
beginning and so let's see how to create
29
a program and execute a program with
Atom and now you want to launch Atom
31
and then go to view,
developer open in dev mode and that
33
will ask you for the directory that you
want to open, so go to the desktop, go to
35
the folder where you have your programs
or the folder where you want to create
37
your programs if you haven't created any
program yet and click open.
39
And so you get this tree view in here and close that
and double-clicking a file will open the
41
file here in the editor and so you can
go ahead and add more code there.
43
Three plus four, you can also
create other files, so you right click on
45
the main directory, go to new file,
Myprogram2.py. Let's say print
47
five this time and ctrl s to save and so you
have two programs now in here and you
49
can switch through different files by
clicking the tabs in here. So how to
51
execute this programs now? Well you can
use your Mac terminal just as you did in
53
the previous lecture or even
better you can go ahead and install a
55
package, so go two packages settings view,
open, go to install.
57
Type platformio ide, so dash ide dash
terminal. Enter to search and then go
59
ahead and install the platformio ide
61
platformio ide terminal has been
installed successfully, so you can go ahead
63
and close settings and you'll see a plus
icon in here. If you click that
65
an embedded terminal will open in Atom
editor and you can drag it down and up
67
to resize it. If you see closely you'll
notice that the terminal is open in the
69
current folder, see so untitled folder
this one in here and that means you can go
71
ahead and use Python now, Python 3 and
execute a program, my program, my temp
73
program.py and that will print
hello. Actually it was supposed to print
75
hello and then 7 but maybe I didn't
save the script, so click on the editor
77
here, ctrl s to save and then click on
the terminal again press the upper arrow
79
key to call a previously executed
command and execute and you get hello
81
and 7 and yeah this is how to use
the Atom editor. Now this is good
83
because you have both, you have the
directory tree here with your files, with
85
your Python files and you have the
editor here and you also have an
87
embedded terminal, so I hope you like
Atom and from now on I'll be using
89
Windows, but things will be exactly the
same because Python is a cross-platform
91
so which means the code is exactly the
same on Mac, and Windows, and Linux as
93
well so just follow me and I hope you
succeed with Python. I'll talk to you
95
in the next lecture.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.