IntelliJ IDEA 2019.1 Help

Python Plugin

Python Plugin extends IntelliJ IDEA with the full-scale functionality for Python development.

Prerequisites

Before you start working with Python, make sure that Python plugin is installed and enabled.

Also make sure that the following prerequisites are met:

  • Python SDK is downloaded and installed on your machine.

  • The required framework SDKs are downloaded and installed on your machine.

Refer to their respective download and installation pages for details:

Changes to the UI

Being installed, the Python Plugin introduces the following changes to the IntelliJ IDEA UI:

  • Python module type is added to the New Project and New Module wizards.

    py plugin module type

  • Python file type is added to the File | New menu. The Python file, Python unit test, and Python stub file types are available.

    py new python file

  • Python SDK can be specified in the Add new SDK popup under the SDKs node of the Project Structure dialog.

    py plugin sdk

  • Django and Google App Engine (Python) are implemented as the facets, which can be attached to a Python module, either in the New Project dialog, or in the Modules or facets pages of the Project Structure dialog:

    py plugin facets
  • Python-related commands are added to the Tools menu:

    py plugin tools

  • Python and framework-specific run/debug configurations, inspections, intention actions, and refactorings.

Besides that, the following changes are made to the Settings/Preferences dialog:

Last modified: 20 June 2019

See Also

Language and Framework-Specific Guidelines: