Effective PyCharm (2021 edition) Transcripts
Chapter: Tool windows
Lecture: The run window

Login or purchase this course to watch this video and the rest of the course contents.
0:00 The next little tool window I want to talk about is the run window and we
0:03 don't even see it here at the bottom.
0:05 But if we hit run then there we go,
0:08 it's popped up here. So we're running our little wizard battle thing over here and
0:13 you've seen this a bunch already.
0:14 We've been running all the programs for many,
0:16 many chapters. Now, you can see when you do input,
0:19 when you do input in this part,
0:20 you know? Colorize, it is green here in this case we could run away
0:24 One thing you gotta do is make sure that your focus down there for this
0:27 to work. There's a couple of things that we haven't really talked about.
0:30 You can do word wrap in case text is really long,
0:34 you can tell it to make sure to scroll to the end and automatically stick.
0:37 So if you go up here,
0:39 notice that went away and there could be tons of output.
0:42 The scroll bar could be shooting by,
0:43 but if you wanted to stick to the end and keep up,
0:46 got to click that. Print it.
0:48 Yeah, I don't know. That's maybe in 1990s feature.
0:51 We can print it. You could clear obviously this will allow us to modify the
0:57 run configuration. It's just a shortcut of going up here and clicking edit configuration and
1:02 then clicking here, we'll rerun it.
1:04 Same as clicking that right there.
1:07 A few other things to point out that we haven't focused on.
1:09 If I hit run again, notice it stopped the program and restarted it right?
1:15 We had some output here, we might have looked around and if I had run
1:19 it starts over if maybe I'm doing multiple runs at the same time,
1:23 I'm doing processing or I want to have something run in the background and some other
1:26 option I'm going to choose at the same time.
1:29 We need to go over here and edit the configuration and say allow running in parallel
1:33 So this will happen if I had another program.
1:37 Let's see, Go Run the Podcast one.
1:40 Here we go and run this.
1:42 Notice now we have our two windows and we can rerun that one and interact with
1:46 this one. But if you want to have the same one,
1:48 run multiple times, let's go to the right configuration.
1:54 We gotta go over here and say allow run in parallel.
1:57 So then while this one is running now we can,
2:00 you know, start another one now we got 2D and this going in
2:03 two instances. So there's a lot of cool stuff.
2:05 We can see, you can now see there's like two in case you close this
2:08 window, you can see there's like two a little number 2 underneath those to tell
2:12 you how many of them are running,
2:13 You can say stop 1 or stop them all.
2:15 All right. So a lot of cool stuff that you can do with the Run configurations in the 'Run' window.