Python
This section provides descriptions of the Python-specific procedures that are used in projects of all supported types, and the procedures that pertain to the empty projects only.
Prerequisite
At least one Python interpreter is properly installed on your machine.
Python support
PyCharm supports the following versions of Python:
Python 2: versions 2.6 and 2.7
Python 3: from the version 3.4 up to the version 3.7
PyCharm integrates the following features of Python 3.7:
PyCharm provides support for Python 3.5 and (since 2016.3) Python 3.6, with the backing of the following:
- PEP-448 -- Additional Unpacking Generalizations
- PEP-492 -- Coroutines with async and await syntax
- PEP-526 -- Syntax for variable annotations
and more.
Python support in PyCharm includes:
Feature | PyCharm Educational | PyCharm Community | PyCharm Professional |
---|---|---|---|
Dedicated project types | |||
Ability to configure local interpreters and virtual environments. | |||
Ability to configure remote and docker-based interpreters. | |||
Run/debug configurations for Python | |||
Run/Debug configurations for Python remote debug | |||
Code insight, Code inspections, Intention actions, and Code completion | |||
Built-in code formatter and separate set of Python code style settings | Limited to Python, HTML, JSON, and XML | Limited to Python, HTML, JSON, XML, and YAML | |
Find usages in Python code. | |||
Testing frameworks | |||
Quick documentation | |||
Recognizing Python documentation comments | |||
Documentation generators | |||
Configuring Python debugger. | |||
UML Class diagrams for Python classes |