In this lesson, you will install a Python IDE on
your computer. But what is an IDE? IDE means
integrated development environment. Very basically,
but this is a text editor with many more
functionalities, which will make your life easier
when you develop programs. So in this video, we're
going to install the PyCharm IDE, which is an IDE
specifically made for Python. After the
installation, I will show you some of the most
important features and functionalities you can get
from this software. And note that I have chosen PyCharm
for this course, which is nice to get
started and is available for both Windows, Linux
and MAC OS. This IDE is actually really used by
Python developers for developing real applications
in real jobs. But this is not necessarily the IDE
you will need or want to use in the future. Okay,
feel free to use any text editor or IDE of your
choice, whatever, which suits you best. And here if
you have never used an IDE before, then I
recommend you to install PyCharm now, at least for
the duration of the course. So let's get to it,
let's install PyCharm. So you can go on Google
and just type PyCharm here, and you will get to
the first page okay, on jetbrains.com/pycharm,
okay, so that will be something similar. And then
you have a button here DOWNLOAD, okay, which will
take you to the download page. So I'm going to
install the Windows version here, okay, for the
course and for my setup, and you have the
instructions here for macOS and Linux. And I'm
going to make a very quick parenthesis here for
macOS and Linux before I go back to Windows. So
for macOS, first, you're going to choose the
Community. Okay, don't choose Professional, which
is a paid version, the Community is a free
version. So choose the version that corresponds to
your MAC hardware, so Intel, Apple Silicon, and
just download that and you can see these
installation instructions. So you download it, and
then you mount it as another disk in your system
and you just copy the PyCharm to your application
folder. From that folder, you're going to be able
to just start PyCharm. Okay, and for Linux, you
also have installation instructions here, okay,
that you can check. So check the last instructions,
and you also have the Community, if you want to
download directly, you can just download here the
Community. And if you are on Ubuntu, you can just
use snap to install PyCharm with just one line of
code. And actually, let's go to Ubuntu for a
second. So to install PyCharm on Ubuntu, first
open a terminal, and then simply type sudo snap
install pycharm-community and then --classic.
So sudo snap install pycharm-community --classic.
Provide your password, and then you wait a little bit, it's
going to download the different snaps and install
it for you. Okay, and once you see that PyCharm
is now installed. You can close the terminal and
now if you want to launch PyCharm, you can just
open a terminal and start pycharm-community
and press enter, or directly with the application
search for pycharm-community, press enter, and
then so you can confirm that, Continue, and send or
Don't Send data and then you're going to get into
PyCharm. All right, and now let's go back to
Windows. So we are going to install the Community
Edition. So you click on Download. It's free, it's
open source, you're going to save the file here.
Okay. Whatever is after this page, you don't need
to do that. You just save the PyCharm executable,
follow installation. Okay, and once this is done,
so you can just click on the executable to start
it. Okay, if you have a prompt, you click on Yes
and then so Next, you can choose where you want to
install it. I'm going to keep it in Program Files by
default, which is nice. Okay, next, if you want
the desktop shortcut, you can just click here and
then you can click on Next, okay, Install and just
wait for the installation to be done.
[No audio]
Okay, and then you can click on Finish
and PyCharm is installed on your computer. So now
what you can do, you can directly if you have a
shortcut on your desktop, you can directly click
on it. Or you can just search for PyCharm here by
pressing the Windows key, and then simply typing PyCharm,
and you can click here on PyCharm.
[No audio]
Okay, so just click on OK, if you have this, maybe you
won't have this for the first time you
install PyCharm. And then you directly come to
this window, and you can just create a New Project
here. So you can see here, you can choose the
location of your project. So by default, it's
going to be in your home directory for your user.
And then it's going to create a PycharmProjects
folder, and then create Python, where you can just
change the name if you want, okay, let's say my
_first_project. You can keep those settings here and click on Create.
[No audio]
Okay, so you have some tips,
I'm going to skip that, and it's going to install
Python modules, okay, it's going to take care of
everything for you. So you can directly start
writing code with Python. Okay. Let's do this. And
you are now in the PyCharm IDE, okay where I first
program, okay, that you are here like a hello,
hello world program, okay, in a new file here,
that is called main.py. So we're going to see that
just a bit later. For now what I'm going to do,
I'm going just to configure the PyCharm with you,
okay, to show you the different settings I'm going
to use. So you can continue to follow the steps
and whether you are on Windows, Linux or macOS
from now this should be the exact same thing,
okay. The options will be the same, the code will
be the same, everything will be the same. So you
can just go on File, and in Settings. Okay, and on
Appearance & Behavior, Appearance here, you can
choose the theme for the IDE. So by default, I
don't know, maybe you will have the light one,
okay, which is, well, very white. And what I
recommend is to use this one Dracula, okay, which
is easier for the eyes and is quite nice. Okay, so
choose a dark theme, if possible, so your eyes
won't hurt that much after a few hours on the
screen. And then you can go here on the left on
Editor, on General, and click on that checkbox
here, Change font size with Ctrl+Mouse Wheel
okay, just click on that and click on Apply. So
where you're going to get to scroll in the text a dog to
make it bigger or smaller as you like. And then
you can click on OK. So you have the main key the
main editor, you can zoom in with control and
mouse, and maybe control mouse like this. So you
can zoom in, zoom out, okay, to make the text
bigger. All right, and now your PyCharm IDE is
installed and setup, and you can start to write and
execute your own Python program and we are going
to see that in the next lesson.