If you are a Windows user, we recommend that you install Python for Windows.
Python 2: version 2.7
Python 3: from the version 3.5 up to the version 3.8
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:
- 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:
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
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.
Recognizing Python documentation comments
Configuring Python debugger.
Navigation to the method hierarchy