PyCharm 4.5.3 Help

Creating Python Packages

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

The Python package nodes are marked with the iconPackage 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:
  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:

    Click OK. PyCharm creates the new package or package structure:

See Also

Last modified: 5 August 2015