Creating a New PyCharm Project
Overview
Creating a Project
-
- Click [New Project]
The [New Project] button can be found in the top menu "Welcome To PyCharm".
-
- (optional) Rename your project.
How should you name and store your files?
Name: A simple naming convention for classwork could be
className_projectType_projectName.
Location: We recommend keeping your projects together in the PycharmProjects projects folder. This keeps your projects together, minimizing the chance of misplacing where you saved something.
Ultimately, name and storage conventions are a personal choice, so just stay consistent. -
- (optional) Click the checkboxes to [Create Git repository] and [Create a welcome script]
- It is good to get in the habit of creating a Git repository since you will be using Git for all COMP1510 assignments.
The welcome script contains helpful information
-
- Select [Project venv] as your interpreter type (this is selected by default)
- TODO: Add explanation of venv. This is a virtual environment. What does it do?
-
- Select your desired version of Python
-
Note
For this demo, version 3.10 or later is acceptable. We recommend choosing the latest version of Python you have installed.
-
- Click [Create]
This will create and open your new PyCharm project in this window. Your project may take up to a couple minutes to finish setup, depending on your computer.