rootblysub
All videosYouTube Subtitle Translation한국어

How to Install Python and VS Code + BONUS Roadmap! (Step-by-Step) | #Python Course 2

0:00
Rendben, barátaim, most mindent előkészítek, hogy elkezdhessétek a Python tanulását.
All right, my friends, so now I'm going to prepare everything for you in order to start learning Python.
0:04
Letöltjük és telepítjük az alapvető dolgokat, majd megírjuk az első Python-kódunkat.
So we're going to go and download and install the basic stuff. We're going to run our first Python code.
0:09
A végén lesz egy bónuszrész is, ahol mutatok néhány kiegészítőt, amit a projektjeimben használok.
And at the end, there will be a bonus section where I'm going to show you add-ons and stuff that I usually use in my projects.
0:15
Emellett kaptok egy Notion-útitervet is a Python-tanulás követéséhez és megtervezéséhez. Vágjunk bele, barátaim!
And as well, a Notion roadmap for Python to track and plan your learning process. So my friends, let's jump in.
0:26
Rendben, először is le kell töltenünk
okay now the first thing that we need to do is to go and download
0:30
a Pythont. Nyisd meg a böngészőt, és menj a python.org oldalra.
python so open your browser and go to python.org
0:33
Ezután menjünk a letöltésekhez. Itt
and then we're gonna go to the download section and here you're
0:36
látsz egy nagy sárga gombot, amin ez áll: Python letöltése.
gonna see one big yellow button that says download python
0:39
Most nálam a 3.13-as verzió van, de lehet, hogy újabbat látsz. Ez teljesen rendben van. Menjünk tovább,
and then we have like a version for me now it's like 3.13 you might see here like higher version that i'm showing now and that's totally fine so let's go
0:48
és kattintsunk rá. Ekkor megkapjuk a telepítőt, szóval
and click on that and then you will get like the installation so
0:51
kattintsunk rá. Telepítés előtt nagyon fontos, hogy
let's go and click on it and now very important before we start installing
0:54
jelöljük be ezt a négyzetet, és válasszuk az „Add
now we're gonna go and check this one so we're gonna say add
0:57
python.exe to PATH” lehetőséget. Ez megkönnyíti az életed,
python.xe to path it's just gonna make your life
1:00
hidd el. Most kattintsunk az „Install Now” gombra, és
easier trust me so now let's go to install now and
1:05
kattintsunk rá.
click on that so
1:07
Ezzel felkerült a Python a gépünkre. Amit most telepítettünk, az
with that we got python on our pc so now what we installed now
1:10
a teljes Python-motor: az értelmező, a szabványos könyvtárak és a beépített eszközök, vagyis minden
is the full python engine so we have like the interpreter the standard libraries the built-in stuff if all those
1:17
alapvető dolog, amire szükséged van a Python-kód futtatásához a gépeden.
basics that you need in order to run python code at your pc
1:20
Rendben, most ellenőrizzük, hogy minden megfelelően települt-e.
okay so now we have to check whether everything is installed correctly
1:24
Keress rá a rendszeredben a Terminálra, és
so now go and search in your system for terminal and
1:27
indítsd el. A terminálba írd be:
let's run that now here in the terminal type
1:30
python --version. A rendszer kiírja a Python verzióját. Ha nálad is ezt látod, akkor, barátaim, sikeresen telepítettük a Pythont
python and dash dash version let's go and our system returns python with the version so if you get it like me that means my friends we have now installed python
1:42
a gépünkre, és
at our pc and
1:44
most az a kérdés, hogy hol írjuk meg a Python-kódunkat.
now the next question is where we're gonna write our python code
1:48
Két lehetőségünk van: használhatunk egy kódszerkesztőt
and here we have two options either we're gonna use a code editor
1:51
vagy egy IDE-t. A kódszerkesztő
or we're gonna use an ide so a code editor it
1:54
olyan, mint egy okos jegyzettömb fejlesztőknek, így lehetnek benne
is like smart notepad for developers so you can have like some
1:57
hasznos dolgok, például szintaxiskiemelés és automatikus kiegészítés
nice stuff like syntax highlighter auto complete
2:00
fájlnavigáció, számos bővítmény és kiegészítő
file navigations many extensions and add-ons
2:03
és vannak nagyon népszerű szerkesztők, például a Visual Studio Code
and we have very famous editors like the visual studio codes
2:07
és az Atom. A másik oldalon pedig ott vannak az integrált
and atom and from the other side we have the ide integrated
2:10
fejlesztői környezetek. Ezek nehezebbek és fejlettebbek
development environments this one is like heavier more
2:14
a kódszerkesztőknél: kapsz hibakeresőt,
advanced than the code editor you will get a debugger
2:17
fordítót, verziókezelést és sok más komoly eszközt
compiler version control and many more heavy stuff
2:20
is. Egy nagyon népszerű ilyen például a PyCharm és a Visual Studio. Vigyázz, ez nem a Visual Studio Code! És most persze az a kérdés, melyiket használjuk. Nos, a kódszerkesztőt választjuk: a Visual Studio Code-ot.
inside it and a very famous one is like the pie charm and the visual studio be careful it's not the visual studio codes and now of course the question is which one we're gonna use well we're gonna go with the code editor
2:32
Ingyenes, könnyű, és megvan benne minden,
visual studio code it is just free lightweight that
2:35
amire szükségünk van a Python tanulásához vagy használatához.
has more that we need in order to learn or work with
2:38
És hidd el, barátom, ezt a szerkesztőt nem csak
python and i can tell you my friend this editor is not only
2:41
kezdők használják programozási nyelv tanulására,
like for beginners for someone to learn a programming language
2:45
hanem szakemberek is. Te is használni fogod
this one is as well for professionals you're going to be using it
2:48
a projektjeidhez. Én is ezt használom a
in your projects i use this editor as well for my
2:51
saját projektjeimhez. Na, elég a beszédből, töltsük le!
real projects so now enough seeds let's go and get it
2:56
Rendben.
okay
2:58
Most töltsük le a Visual Studio Code-ot. Menjünk a code.visualstudio.com oldalra, és
so now let's go and download visual studio code so we're gonna go to code.visualstudio.com and
3:04
ha ott vagy, kattints a Windows letöltésére, és
once you are there you can go and click download for windows and
3:07
ha Macet használsz, itt megnyithatod a dokumentációt, és
if you are using mac you can go to the docs over here and
3:10
a bal oldalon válaszd a telepítési útmutatót. Itt láthatod a Linuxhoz
then to the setup on the left side and here you can see for linux
3:13
a Machez és a Windowshoz tartozó lehetőségeket. Ha a menüre kattintasz, itt a letöltéseket is látod. Töltsd le és telepítsd a Visual Studio Code-ot a gépedre. A telepítés után nyissuk meg.
for mac for windows and if you go to the mark you can see as well here the downloads so now go download and install visual studio code at your pc after installing the visual studio we're we're going to go and open it.
3:24
És teljesen megértem, ha ez most kissé túl soknak tűnik. Rengeteg ikon, menü és egyéb dolog van itt.
And now I totally understand if this is like little bit overwhelming. You have a lot of icons, menus and stuff.
3:30
De ne aggódj emiatt. Lépésről lépésre végigvezetlek, úgyhogy
But don't worry about it. I'm going to guide you like step by step so
3:33
most itt az alap Visual Studio, de szeretnénk
now we have here like the basic visual studio but we want to
3:36
bővíteni, új funkciókat hozzáadni
go and upgrade stuff we want to go and add like upgrades
3:39
és több lehetőséget adni a szerkesztőnek. Ezt úgy tehetjük meg, hogy
and power to our editor and we can do that by adding
3:42
bővítményeket adunk a Visual Studio-hoz. A bal oldalon
extensions to the visual studio now if you go to the left side
3:46
sok ikont láthatsz. Az egyik a bővítményeké. Kattints rá. Ezután
you can see here we have a lot of icons one of them called extensions so go and click on that so now what we can do we can go and
3:53
kiegészítőket és bővítményeket kereshetünk a Visual Studio-hoz. Tehát
search for add-ons and extensions to our visual studio so
3:56
keress rá a Pythonra, és a
what you have to do is to go and search for python and now the
3:59
Microsoft Python-bővítményére lesz szükségünk, úgyhogy
one that we need is python by microsoft so
4:02
kattints rá. Ez egy hivatalos Python-bővítmény,
click on that so this is an official python extension
4:06
a Microsofttól. Töltsük le. Mi
by microsoft so let's go and download it we're
4:09
ide kattintunk a Telepítés gombra, és ezzel a bővítmény
gonna go over here and click on install and with that the extension
4:12
települ is. Nagyon hasznos: intelligens javaslatokat ad, kiemeli a hibákat, megkönnyíti a programok futtatását és még sok minden mást. Ezzel megvan az
is installed this is really nice one in order to get smart suggestions to highlight errors to run things easier and so on and with that we got our
4:20
első bővítményünk a Visual Studio Code-ban. A következő
first extension in visual studio code and now in the next
4:23
lépésben kattints a menüben a Fájlra, majd
step i want you to go to the file over here in the menu and then
4:26
nyissunk meg egy mappát. Most hozz létre
let's open a folder and what you're going to do now is to create
4:29
egy mappát, ahová az összes Python-kódunkat tesszük. Ügyelj arra, hogy
a folder where we're going to put all our python codes so make sure
4:32
biztonságos helyre kerüljön. Hozzunk létre egy
to put it somewhere safe so we're going to go and create a
4:36
új mappát, például python_learning néven,
new folder let's call it for example python underscore learning
4:39
majd válaszd ki. Ekkor az
and select the folder so now the
4:42
ablak átvált az Intézőre, az első ikonra itt.
window switch to the explorer the first icon over here
4:45
Most a panelen láthatjuk a mappánkat, a python
and now we can see in this panel our folder the python
4:48
_learning mappát, és itt láthatjuk az összes mappát és
underscore learning and here we can see all the folders and
4:51
fájlt, amelyet a projektben létrehozunk. Remek, most
files that we are creating in the projects great now
4:54
megvan a mappa, és most létrehozzuk benne az első
we have the folder and now inside it we're going to create our first
4:58
Python-fájlunkat. Ehhez menjünk erre
python file so in order to do that we're going to go to this

Only the first 5 minutes are free. Install the app or extension to keep watching.

Download
Request another language
Also available as a Chrome extension and mobile appDownload
Translating0%