Effective PyCharm Transcripts
Chapter: PyCharm Projects
Lecture: Run configurations
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
We saw that. We can right click on a file and say 'run' But what exactly does that mean? There might be parameters we need to pass to that as
0:08
a application. There might be working directories or other things that we need to change
0:12
So we can go over to the run configurations in the top right here and modify those. So if we click on that little drop down,
0:19
we can choose to either edit the application run or the test run in this particular
0:25
application. Of course. These were originally created by clicking on the app and saying run this once it's created, we might want to go and control it.
0:33
So we can say edit it will open up like this and it's even categorized.
0:37
Here's the Python applications versus the tests that are going to run in 'Py' tests. We can give it a new name.
0:42
We can allow multiple ones of them to run at the same time. Change the parameters, Change the Python interpreter,
0:49
the interpreter options, all that kind of stuff. We could even control whether or not they're little tools and things that run before our
0:57
application runs. So really nice way to configure this. If there's not a nice right click run operation,
1:05
there's a plus in the top left here and then I'll let you do things like create a Flask app that we use Flask ground or create a pyramid app that will
1:12
run the I&I files. The primary definition of how the apps is supposed to run.
1:17
So all sorts of good things to further control how your app is going to run over a run configurations.