PyCharm is an integrated development environment (IDE), a useful tool for creating and testing Python code. First, ensure that Python is installed on your computer. Install PyCharm by following these instructions.
After starting PyCharm, navigate to the Python code style settings via Configure -> Settings -> Editor -> Code Style -> Python. Check the box for "Use tab character".
Test the IDE and your settings by creating the following simple program. Create a new project, make sure to specify the directory you want the project files into and to select the "existing interpreter."
Create a new project, make sure to uncheck the "create a main.py welcome script" box. Next, create a new Python file: File -> New -> Python File.
print("Hello World")Run the script with Run -> Run or Alt + Shift + F10.
This page was last modified on 2020-08-03 at 17:04:03.
George Fox University · 414 N Meridian St · Newberg, Oregon 97132 · 503-538-8383
Copyright © 2018–2020 George Fox University. All rights reserved.