Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
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
Hey hello again in this lecture I'll
show you how to download and install the
3
Atom editor. Atom is a powerful and
very efficient editor for writing and
5
executing Python code. This lecture is
specifically for windows, so for Mac
7
users please go to the next lecture.
So before what we did was we installed
9
Python and we tried a python interactive
session in the command prompt and we
11
also created a python program using a
simple editor such as Notepad or
13
whatever editor you had in on your
Windows, so now we're going to use
15
another editor which is Atom and you
need to go and install it from and
17
download it from the Atom official web
Page, just click the button there.
19
Say file and it will take a while until it
downloads. Great, the download process
21
has finished now so I'm going to click
on Atom, click on run to run
23
the installation and yeah you have to wait a
while until Atom is installed.
25
And yeah, the installation was quick and now Atom has
been opened on my Windows, however I would
27
like to close it here and show you the
standard way of how to open Atom, so the
29
way that you'd normally open Atom
when you start programming so one way to
31
open Atom is to browse through your
programs and open Atom by clicking.
33
However that we open atom in a random
directory so the most efficient way to
35
open Atom is to go to the directory
where you have your programs so the
37
program that we have is myprogram.py.
And then outside in here right click
39
and go to open with Atom, but if you
don't see open with Atom like I do. so
41
I don't have open with Atom for now,
then go and open Atom
43
for your programs. Go to file, settings
and then check these two options so this
45
options were under system, under the
system tab of the settings menu and I
47
close Atom and I right click and now
you should see this menu in here. Open it
49
and you should now see this view but if
you see, if you don't see the tree
51
view in here, the directory tree view, go to
view and then toggle tree view so you can
53
toggle it off and on. You can close this
and then to open your program, so to edit
55
your program you simply double-click
your file your Python file and yeah, you
57
start writing. Print. Start adding more
code and always press ctrl s to save and
59
now to execute this code you can either
go here and open your command window
61
here with Shift right click or there is a
more efficient way to do it. You need
63
to go to file settings, packages, sorry
install, you want to install a new
65
package and search for that platformio
67
click install and so this is the package
that we will install or will integrate a
69
terminal, a command line inside Atom so
you don't have to use external windows
71
and native windows command line and you
can run your programs from within Atom.
73
All right, platform ide terminal was
installed successfully, you can close the
75
settings tab and so now you should see
this plus icon in here, click on the icon.
77
Will open a new terminal so now this is
79
opening the current directory which
reflects the directory of your Atom
81
directory, so of your programs. Now you
can go ahead and type in commands you to
83
run your Python program, so my tab for
auto completion and that will
85
auto complete like that, don't worry about this.
This just means the current
87
directory, so when you do Tab, Tab will
add this. Ignore it and press Enter and
89
you see the program output in the
terminal. You can clear the terminal from
91
the codes from previously executed
commands and of course you can call
93
previously executed commands with the
upper arrow key. Execute again and don't
95
confuse executing a program with opening
a Python interactive session, so here you
97
write Python code like print 7 for
example interactively but if you exit
99
this because I see some students will go
ahead and run Python code in here but
101
this is wrong, this is not Python,
this is windows, the windows command line, so
103
don't do that instead write Python code
inside an interactive session or inside
105
the Python file. That's the idea and
this is Atom. I hope you like it
107
and I'll talk to you later.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.