Intro to Computer Programming with Python
CS110: Spring 2020
Install Pycharm (Optional)
Download
- Visit https://www.jetbrains.com/pycharm/download/, and select the platform, by pressing Mac, Windows, or Linux, based on your operating system.
- Download the Community edition. It should be the link on the right.
Installation (macOS)
- Click on the DMG file to mount the archive.
- A folder will pop up prompting you to drag the app to your Applications folder.
- After you’ve done so, open the Applications folder and find the PyCharm CE app.
- Open the App and continue with the setup. The default option should work for most.
Installation (Windows)
- Run the EXE file that you downloaded
- Follow the prompt for the installation
- It’s recommended that you create a desktop shortcut
- Run PyCharm
Using PyCharm
- Using hw02 as an example, unzip hw02.zip to an hw02 folder.
- On Pycharm Open the folder
- Open up main.py
- Right click main.py and click Run ‘main’
- if Run is not shown, it’s possible Pycharm is still processing on your system. Wait a couple minutes. (This shouldn’t happen very often)
- On the right bottom corner, make sure it displays “Python 3.x” like Python 3.8 or Python 3.7.