Effective PyCharm (2021 edition) Transcripts
Chapter: PyCharm Projects
Lecture: Project introduction
0:02 We've talked a lot about why PyCharm is awesome and how to get it set
0:06 up and why you should consider using it over many things.
0:09 It's time to finally start using PyCharm and in this chapter we're going to focus
0:14 on projects. This allows us to take a bunch of directories full of assets
0:19 and files and python scripts and all those things and treat it as one holistic application
0:24 This could be a little terminal UI app that you just share for command line utility.
0:30 It could be a web application,
0:32 It could be some data analysis or some data science project.
0:35 You're working on. The idea is that we want to take a bunch of files
0:38 and understand them as a whole.
0:41 So this means it not just being able to switch between the files but understanding the relationships
0:46 like when I'm using this function here is imported from that other file and if I
0:50 want to say refactor it and rename it,
0:52 we need to make sure all the places throughout all the set of files.
0:56 This application, it gets renamed,
0:58 refactored automatically or I can ask whereas it is used if I try to do
1:02 auto complete if I try to work with some part of one of the application in
1:06 some other part PyCharm will understand that deeply and give us all sorts of hints and
1:11 auto complete and even warnings if we're doing things wrong.
1:14 So maybe this is even setting up a web application.
1:17 So the way we can figure the project is slightly different than the file system itself
1:23 So that PyCharm sees the files as the web application would see them,
1:27 like, for example, '/static' is where the static files are kept,
1:31 even if that's not a top level directory in the project.
1:34 So PyCharm projects are a really important place to start and they're a really important part
1:39 of how PyCharm works. It gives you this holistic understanding over just editing one
1:46 file here and one file there and trying to keep in your mind how they connect together. Let's dive in.