Mastering Python for Beginner in A day: Installation

Mishbahussuduri
4 min readMay 7, 2023

--

Photo by Clay Banks on Unsplash

Python is a high level programming language. Which got 1st Rank on PYPL and Tiobe. Since this article was posted.

You could go to Python, download the last release and automatically system will detect to download with the same operating system of yours.

Download Python for Windows

For installing choose Customize Installation and check Python 3.9 to PATH.

Customize Installation Check

Simplify program files with just C:\Python39 to make it easy.

Setup Installation

Installation done, try to access from command prompt (cmd).

Also try with code

python

print("Hello World!")
exit()
Testing Python from Command Prompt

PyCharm

For coding Python effectively, need Integrated Development Environment (IDE). It is called PyCharm as IDE to develop Python application based.

Choose PyCharm Community for free.

PyCharm Community

Running installation as usual.

PyCharm Settings

Choose do not import settings in order to clear other previous settings.

There you go, PyCharm installation successful.

Welcome to PyCharm

In this case, using Version Control System (VCS) to work with professionals.

GitHub

Next, if you have GitHub account then make an organization like a brand to inform users on internet. Organization useful to develop your code and repositories so in case you still learn at school or college but people could see your progress on your GitHub organization. And there is opportunity to invite you for their projects or kind of stuff.

GitHub Organization

After that, your organization is done then answer those survey and submit.

Create repository. Repository name, then choose public and check README file, .gitignore (Python) and license. If it done click Create Repository.

Next, back again to PyCharm and get your repository from Get from VCS.

HTTPS Copy from GitHub

Copy your repository link from GitHub and paste URL in PyCharm.

Get from VCS

Well, you can not clone before install git. Then just download and install below. Git is used to save, read and process project from website who use git protocol.

Download and Install Git in PyCharm

After Installed, trying to your first code in PyCharm

With project that you made. Make file main.py below and click ctrl + k to commit. Commit use for saving changes to local repository and Push use to send changes local repository up to GitHub.

Commit PyCharm

Then, if like this. Just choose Use Token, better.

Use Token PyCharm

And click Generate to access New Personal Token in GitHub, follow the standard steps, scroll down and click Generate Token.

Generate Token

Copy the token to fill in PyCharm.

Token Copy

Paste the Token here, then click Log In.

Log In the Token

And Commit and Push works

Pushed Commit

Then check your GitHub repository. Look main.py there is change or update at the time when you commit and push.

Commit and Push Repository GitHub

It is the way to commit and push to Repository GitHub (centralized). Long steps but important to understood as beginner using Python. From clone repository, git installation, make a change repository from PyCharm.

--

--