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 are 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 on jetbrains.com/pycharm.
Okay, so that will be something similar.
And then you have a button here, Download, which will take you to the download page.
So I'm going to install the Windows version here for this course and for my setup.
And you have the instructions here for Mac OS and Linux.
And I'm going to make a very quick parentheses here
for Mac OS and Linux before I go back to Windows.
So for Mac OS, 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 or 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 are 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 dash community.
and then dash dash classic.
So sudo Snap install PyCharm dash community dash dash 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 dash community
and press enter all 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 are 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 for 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 the program files by default, which is nice.
Okay, next.
If you want a desktop shortcut, you can just click here.
Then you can click on next.
Okay, install and just wait for the installation to be done.
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.
Okay, so just click on okay, if you have this,
maybe you won't have this for the first time you installed 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 PyCharm projects folder.
And then create Python, well, 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.
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, with a first program,
okay, that you have here, like a 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 this course.
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 first go on file and then settings.
Okay, and on appearance and 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, dark color.
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 control
mouse will, okay, just click on that and click on apply.
So you will be able to scroll in the text editor,
okay, to make it bigger or smaller as you want.
And then you can click on okay, so you have the main here, the main editor,
okay, you can zoom in with control mouse and maybe comment mouse on macOS.
So you can zoom in, zoom out, okay, to make the text bigger.
All right, and now your PyCharm IDE is installed and set up
and you can start to write and execute your own Python program.
And we are going to see that in the next lesson.