Tutorial 8

PyCharm is a Python IDE that includes lots of useful features. It is available for Windows, Mac, and Linux.

Full Write-up

Features:

  • Syntax highlighting, both for errors and style
  • Autocomplete
  • Fun color schemes
  • Switch between Python versions
  • Easy package management
  • Integration of IPython/Jupyter
  • Syncs with version control systems (GitHub)

Installation: Follow the instructions at the PyCharm Downloads page

Making a new PyCharm Project

File > New Project
Choose the directory for the project to live.
Choose a Python interpreter
Create

Load a GitHub repository

VCS > Checkout from Version Control -> GitHub
Select repository, local parent directory and name

Create a new Python/Jupyter Notebook file

Right click on a project
New > Python File/Jupyter Notebook

Running Files

Write some code in your file
Click the green arrow / Shft+F10.
->Alternatively, use the Run menu. This allows you to pick which file to run.
->These files then appear as a dropdown under the green arrow.

Inspect your project

Click the "Structure" tab on the far right
This shows all the classes, functions, and variables associated with the current project.

Change Color Scheme

File > Settings > Editor > Colors & Fonts

Change Syntax Warnings

File > Settings > Editor > Inspections

Change Python Version

File > Settings > Project: (Your Project) > Python Interpreter

Pycharm integrates with everything

  • Django
  • HTML/Javascript/CSS
  • IPython
  • Anaconda
  • Scipy/Numpy/MatPlotLib
  • SQL
  • Angular/Node JS
  • Docker
  • And many more!

If you're primarily writing Python, and want to integrate all your tools under one roof, try PyCharm!

Other Information: For a full overview of features, see the PyCharm Features page

For integration with Jupyter/IPython, see the Jupyter Integration Help