PyCharm Create First Python Project
PyCharm actually provides many shortcuts when it starts:

We click the 'New Script' button, and PyCharm creates a script.py file for us and automatically initializes the code and environment:

We can try modifying the script file and run it to view the output:

Create a project via the menu bar
Launch PyCharm and click 'New Project'.

Enter the project name RUNOOB, set the project path, select the Python interpreter, and click 'Create' to create the project.

Next, we set the project to RUNOOB, then create a Python script file under this project.
Right-click in the project RUNOOB and select 'New -> Python File' to create a new Python file.

Enter a file name, for example runoob-test.py, to create a new Python file:

Enter the following code in the file:
Example
(
"Hello Runoob!"
)
After entering the code, click the Run button in the top-right corner:

You can also right-click the code area and select **'Run runoob-test'** to run the code.

Project settings
After the project is created, we can click the settings icon in the top-right corner to make some configurations:

It includes some common editor configurations and also lets you configure the Python interpreter:

Frequently Asked Questions
1. What to do if PyCharm shows 'No Python interpreter configured' on startup?
This means PyCharm did not detect a Python interpreter. You can add one manually:
- Open 'File -> Settings' (Windows/Linux) or 'PyCharm -> Settings' (macOS).
- Select 'Project:
-> Python Interpreter' in the left menu. - Click 'Add Interpreter' in the top-right corner.
- Select the path of the installed Python interpreter.

2. How to install third-party libraries?
In PyCharm, you can install third-party libraries via the following steps:
- Open 'File -> Settings' (Windows/Linux) or 'PyCharm -> Preferences' (macOS).
- Select 'Project:
-> Python Interpreter' in the left menu. - Click the '+' button in the bottom-right corner, search for, and install the required library.
