Python
To develop Python scripts in PyCharm:
Download and install Python.
Configure at least one Python interpreter.
If you are a Windows user, we recommend that you install Python for Windows.
Supported versions
Python 2: version 2.7
Python 3: from the version 3.6 up to the version 3.10
The following feature is available as part of Python 3.10 support
The following features are available as part of Python 3.9 support
- PEP 585 – Type Hinting Generics In Standard Collections
- PEP 593 – Flexible function and variable annotations
- PEP 614 – Relaxing Grammar Restrictions On Decorators
The following features are available as part of Python 3.8 support
- PEP-570 – Python Positional-Only Parameters
- PEP-572 – Assignment Expressions
- PEP-586 – Literal Types
- PEP-589 – TypedDict: Type Hints for Dictionaries with a Fixed Set of Keys
- PEP-591 – Adding a final qualifier to typing
- Python bug tracker task #36817 – Support = expressions in f-strings
PyCharm integrates the following features of Python 3.7:
Python support in PyCharm
PyCharm provides the following features to help working with Python:
Feature | PyCharm Edu | PyCharm Community | PyCharm Professional |
---|---|---|---|
Dedicated project types | |||
Ability to configure local interpreters and virtual environments. | |||
Ability to configure remote and docker-based interpreters. | |||
Python console. | |||
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. | |||
Navigation to the method hierarchy |
Last modified: 06 July 2021