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 icon.
To create a new Python Package
- In the Project tool window, select the destination directory.
- On the context menu of the selection, choose , or press Alt+Insert to invoke the context menu:
- 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:
Last modified: 26 October 2017