RubyMine 2017.2 Help

Creating Python Packages

RubyMine makes it possible to create Python packages recursively, thus creating the whole package structure.

The Python package nodes are marked with the /help/img/idea/2017.2/iconPackage.png icon.

To create a new Python Package

  1. In the Project tool window, select the destination directory.
  2. On the context menu of the selection, choose New | Python Package, or press Alt+Insert to invoke the context menu:
    /help/img/idea/2017.2/python_CreatePackageMenu.png
  3. In the New Package dialog box that opens, specify the package name.
    You can also specify nested packages; in this case, the names should be delimited with dots:
    /help/img/idea/2017.2/python_CreatePackage.png

    Click OK. RubyMine creates the new package or package structure:
    /help/img/idea/2017.2/python_CreatePackageResult.png

Last modified: 26 October 2017

See Also