Python
To work with Python in PyCharm, install at least one Python interpreter.
Supported versions
Python 2: version 2.7
Python 3: from the version 3.5 up to the version 3.7
PyCharm integrates the following features of Python 3.7:
- PEP-561 – Distributing and Packaging Type Information
- PEP-544 – Protocols: Structural subtyping (static duck typing)
- PEP-557 – Data Classes
- PEP-560 – Core support for typing module and generic types
- PEP-562 – Module __getattr__ and __dir__
- PEP-563 – Postponed Evaluation of Annotations
PyCharm provides support for Python 3.5 and (since 2016.3) Python 3.6, with the backing of the following:
- PEP-484 -- Type Hints
- PEP-448 -- Additional Unpacking Generalizations
- PEP-492 -- Coroutines with async and await syntax
- PEP-526 -- Syntax for variable annotations
- PEP-498 -- Literal String Interpolation
- PEP-515 -- Underscores in Numeric Literals
- PEP-525 -- Asynchronous Generators
- PEP-530 -- Asynchronous Comprehensions
Python support in PyCharm
PyCharm provides the following features to help working with Python:
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 |