PyCharm 3.4.0 Web Help

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

iconPackage
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+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter to invoke the context menu:

    python_CreatePackageMenu

  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:

    python_CreatePackage


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

    python_CreatePackageResult


See Also

Reference:

Web Resources: