Open PyCharm
Select Create New Project
Create a new python file e.g. with File->New...-> Python File
Add the following code
#!/usr/bin/env python print("Hello World")
Run the code e.g. with Run->Run...->YourCreatedPytonFile