Create & Run Your First Python Program in PyCharm
Let’s illustrate how to create a simple Python program using PyCharm:
Step 1: Installation and Project Setup
Install PyCharm on your computer and choose the edition that suits your needs. you can download pycharm from here. After Installation when first time you open pycharm you will see this screen, in this screen there is some options such as create new project, open already exist projects, or get project from version control system such as GitHub.
By click on new Python project within PyCharm we can able to make new Python project and in next screen it ask about the some basic details like project repository location.
So after this we get one main.py file we will write our first Python code in that main.py file
Step 2: In the code editor, write a basic Python program that calculates the sum of numbers from 1 to 10:
Now click on the run icon on top right side of the PyCharm editor to run our code
Output
You will see that pycharm has shown output of our code in below part of the editor screen.
What is PyCharm? Features, Advantages & Disadvantages
PyCharm stands out as a widely used integrated development environment (IDE) tailored for Python programming. Crafted by JetBrains, it encompasses a diverse array of capabilities that enhance the efficiency and enjoyment of Python development. In this piece, we will delve into an exploration of PyCharm, elucidating its nature, highlighting its pivotal attributes, enumerating its merits, and acknowledging its drawbacks.
Contact Us