Installing Python and PyCharm
Installing Python and PyCharm
4. Install the 32- or 64-bit version depending upon your windows OS.
5. After downloading run the setup and follow the instructions below.
6. Make sure add to path is selected and then click on Install Now. The
setup will begin installing python on windows OS.
If Python 3.10.4 comes as the output, that means the installation of Python on
your OS is successful.
After rebooting your Windows OS. Create a new folder anywhere on your
system. For this whole book, we are creating a new folder named Python
Programming on our Desktop. You can choose anywhere you want as per your
choice.
It is time to open PyCharm and start our coding experience. Try opening the
application and follow the instructions below.
It will ask you if you trust the project. Click on Trust Project.
Once PyCharm gets opened, it will take some time to get stable.
There will be a dummy code created with a main.py file automatically created
for you at the start. Just ignore the code and try to run the file by pressing
CTRL+SHIFT+F10 or by pressing the play button shown below.
After running, there will be dummy output shown below, meaning that both
PyCharm as well as Python is installed properly on your Windows OS.
Your terminal will ask for Super User-level access. You will need to type your
password to run this command. This is the same password you type when you
log into your Mac. Type it and hit enter.
HomeBrew will ask if you want to continue, press ENTER
It will take some time to install homebrew. After it is done, your screen will
look something like this.
Restart your teminal, and type the following command to install Python.
brew install python
After the python installation is successful. You can check if python is installed
properly by typing the following command.
4. Create a new folder anywhere on your system. For this whole book, we
are creating a new folder named Python Programming on our Desktop.
You can choose anywhere you want as per your choice.
7. Once PyCharm gets opened, it will take some time to get stable. There
will be a dummy code created with a main.py file automatically created
for you at the start. Just ignore the code and try to run the file by
pressing the play button shown below.
8. After running, there will be dummy output, meaning that both PyCharm
as well as Python is installed properly on your MacOS.
Your IDE will now be opened with new theme. To change the theme according
to your preference. Go to Settings -> Appearance & Behavior -> Appearance.
To change font size, go to Settings -> Editor -> Font -> Click on Current Editor.
Change the font size and line height according to your preference.
That is, it. We are done with our PyCharm settings and we are now good to
go.