Mastering PyCharm Transcripts
Chapter: PyCharm Projects
Lecture: Concept: Creating new projects
0:01 You've seen how to create new projects and open existing ones.
0:04 For the new ones, we just click the create new project
0:07 icon or button thing here and you get a list,
0:10 what do you want a pure Python basically empty project,
0:14 do you want a Pyramid web app,
0:16 do you want a Google App Engine configured app or whatever.
0:22 You pick the type here and later you'll see
0:24 that we can actually install NoJs as an option
0:26 for things like ElectronJs and those as well.
0:29 So this is actually extensible through a plugin thing
0:33 that we'll talk about at the end,
0:35 but for now, these are sort of the default out of the box options.
0:37 Just give it a name, select your Python interpreter and hit create and off you go.
0:41 If you want to load an existing project,
0:44 you can either go to the file menu and say open directory,
0:47 click that thing, it says 'open,
0:51 or if you're on a Mac, you can drag this onto there and it will open it.
0:56 And basically, that'll come in as the project root, it'll discover all the files,
1:00 you saw there is already a git repository in place,
1:03 either with the new or the existing, it'll import that as well
1:08 and automatically integrate source control.
1:11 We'll talk way more about source control later,
1:13 but it automatically sort of gets setup for you,
1:16 it at least prompts you to click a button to set it up.
1:19 The one thing that we're not doing here in this picture
1:22 is creating the virtual environment
1:24 inside the existing directory before we open it,
1:27 so I'll show you how that goes in a later concept,
1:29 but that's the way I like to get started,
1:32 because every one of my applications has its own virtual directory
1:35 so it's totally isolated with the right naming conventions
1:39 that happens automatically in PyCharm.