Install PyCharm¶
PyCharm is the most widely used integrated development environment (IDE) or development tool for Python development.
Integrated development environment (IDE) includes code editor, debugger, compiler, interpreter etc. and provides various functions such as auto-complete and search.
Follow this guide step by step to install PyCharm.
STEP 2. Install¶
Run the downloaded file.
Choose the install location.
Create desktop shortcut and create association for files with .py extension.
Choose the Start Menu Folder (or enter a name for new folder) and click ‘Install’.
The installation begins.
Check the box for “Run PyCharm Community Edition” and finish installation.
STEP 3. Settings¶
If there isn’t a particular setting to import, check the bottom box and click ‘OK’.
Scroll to the end to read the policy and click ‘Accept’.
Decide whether or not to send usage statistics to JetBrains.
Set UI theme.
STEP 4. Create project¶
Click ‘Create New Project’ for a new project.
Enter the name for your project and click ‘Create’.
STEP 5. Print ‘Hello, World!’¶
On startup, tip of the day will appear. Click ‘Close’.
Right click on ‘Project’ -> New -> Choose ‘Python file’.
Enter file name and click ‘OK’.
Enter ‘print(‘Hello, World!’)’ in the code editor and press ‘Ctrl+Shift+F10’ to run. This will print the results as follows.
If Python isn’t installed, the following error will appear.
For Python and PyQt5 installation, install Anaconda.