Curriculum
PyCharm is a powerful Integrated Development Environment (IDE) specifically designed for Python.
Created by JetBrains, it offers many features, such as code completion, debugging tools, and version control integration, to streamline the development process.
In this section, we will cover the following:
By the end of this section, you should have a functional PyCharm environment ready for Python development.
PyCharm is now a single, unified product that offers both free core features and paid professional features.
Everyone downloads the same software, and what you pay for is access to the advanced tooling.
| Edition Name | Access & Cost | Ideal For |
| Core Features (Free) | Free forever. Available after the Pro trial expires. | Students, beginners, personal projects, and pure Python development. Includes basic Jupyter support. |
| Pro Features (Paid) | Requires a Pro subscription. A free 30-day trial is included automatically upon installation. | Web development (Django, Flask, etc.), data science, database tools, and remote development. |
Recommendation: For this course, the Core Features (which include all the functionality of the former Community Edition plus new features like basic Jupyter support) are more than sufficient. The automatic 30-day Pro trial will give you access to everything, but you can continue using the necessary features for this course for free once the trial expires.
To install the unified PyCharm IDE, follow the steps below. Note that the installation does not require any form of payment:
Step 1: Visit the Official Website
In your browser, navigate to https://www.jetbrains.com/pycharm/download/.
You will see a single Download button for the unified PyCharm product. Click it.
Step 2: Run the Installer
Locate the downloaded file (e.g., pycharm-*.exe on Windows, .dmg on macOS, or .tar.gz on Linux).
Double-click or run the installer.
Step 3: Follow the Installation Wizard
.tar.gz file../bin/pycharm.sh.Step 4: Launch PyCharm
On first launch, PyCharm will ask if you want to import settings. You can click No.
You will be prompted to accept the Privacy Policy and License Agreement. Accept and continue.
You will then be automatically enrolled in the 30-day Pro trial. Choose your UI theme (Light or Dark).
Done! PyCharm is now installed. Next, we will explore how to develop programs using the IDE.
Step 1: Start PyCharm and Select “New Project”
When PyCharm opens, you will be presented with the Welcome screen.
Click on “New Project” button to begin.
Step 2: Configure Project Settings
C:/Users/Username/PyProjects/FirstProject)Step 3: Click on “Create”
PyCharm will set up the project structure and initialise the virtual environment. This process might take some minutes before it concludes.
Once the project is created, you should be presented with PyCharm’s main interface, which should include the following parts:
Note that we discuss this task in more detail in the following section. If you find it difficult to understand what is being discussed here, you can ignore it and read the next section fully to understand the process.
Step 1: Create a Python File
In the Project Tool Window, right-click on your project folder → New → Python File.
Name the file hello.py (ensure it has the .py extension).
Step 2: Add Python Code
In hello.py, type:
def main():
print("Hello, PyCharm!")
if __name__ == "__main__":
main()
Step 3: Run the Script
Right-click inside the code editor → “Run ‘hello’”.
Or click the green Run triangle button at the top-right corner.
In the Run tool window (bottom), you will see:
Hello, PyCharm!
Success! You have executed your first Python script using PyCharm.
This stage is significant to the entire Python learning process.
Thus, if you have been able to complete this step, why not post a comment on the forum. If you are having problems with this, you have a few options. You could mention it in the forum first. If you do not receive sufficient help, then you can email the tutor at this link Tutor.
If PyCharm didn’t auto-detect Python, you can manually configure it:
C:Python39python.exe).
Here are a few important essentials of PyCharm that could boost your productivity:
Here are a few PyCharm (or IDE) benefits that will help you in development.
Ctrl + Space for code completion, Ctrl + Shift + F for global search).Ctrl + Alt + L on Windows/Linux, ⌥ + ⌘ + L on Mac) to keep your code clean and consistent.
Here is a summary of what we have covered in this section.
.py file, type code, click Run.With PyCharm set up, you are now ready to develop Python applications more efficiently. Again, this stage is very significant. Once you can get across this stage, it is more straightforward to develop your Python programs. Get in touch with the tutor if you have problems installing PyCharm. Note that only the first few registrants might be able to get direct assistance on this.
What’s Next?
In the next section, we shall discuss more broadly on how to run your first Python program.
Not a member yet? Register now
Are you a member? Login now