PyCharm 2018.2 Help

Creating Directories

PyCharm enables you to create directories recursively, thus producing a whole directory structure.

  1. Open the Project tool window (e.g. View | Tool Windows | Project).

  2. Select the destination directory.

  3. Do one of the following:
    • Select File | New | Directory.

    • Select New | Directory from the context menu.

    • Press Alt+Insert and select Directory.

    python CreateNewDirectories
  4. In the dialog that opens, specify the directory name. If you want to create a number of nested directories, specify the directory names separated with slashes.

    py createDirectory

Last modified: 12 October 2018

See Also