CS110: Fall 2021

Intro to Computer Programming with Python

CS110: Fall 2021

Install Pycharm (Optional)

Download

  1. Visit https://www.jetbrains.com/pycharm/download/, and select the platform, by pressing Mac, Windows, or Linux, based on your operating system.
  2. Download the Community edition. It should be the link on the right.

Installation (macOS)

  1. Click on the DMG file to mount the archive.
  2. A folder will pop up prompting you to drag the app to your Applications folder.
  3. After you’ve done so, open the Applications folder and find the PyCharm CE app.
  4. Open the App and continue with the setup. The default option should work for most.

Installation (Windows)

  1. Run the EXE file that you downloaded
  2. Follow the prompt for the installation
  3. It’s recommended that you create a desktop shortcut
  4. Run PyCharm

Using PyCharm

  1. Using hw02 as an example, unzip hw02.zip to an hw02 folder.
  2. On Pycharm Open the folder
  3. Open up main.py
  4. Right click main.py and click Run ‘main’
  5. 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)
  6. On the right bottom corner, make sure it displays “Python 3.x” like Python 3.8 or Python 3.7.