Four methods are provided for creating new folders in PyCharm: File Browser: Navigate to the desired location, right-click and select New >Directory. Project view: Right-click the project folder and select New >Directory. Shortcut: Press Ctrl Alt N (Windows/Linux) or Command Option N (macOS) and select Directory. Command line: Navigate to the project folder and run the mkdir command followed by the folder name.
Create a new folder in PyCharm
PyCharm is a powerful Python development environment that provides a variety of method to create a new folder.
Method 1: File Browser
Method 2: Project View
Method 3: Shortcut keys
Ctrl
Alt
N
(Windows/Linux) or Command
Option
N
(macOS). Method 4: Command line
mkdir
command, followed by the folder name, for example: <code>mkdir my_folder</code>
Tip:
The above is the detailed content of How to create a new folder in pycharm. For more information, please follow other related articles on the PHP Chinese website!