How to make a Run Configuration that runs current file in PyCharm?

Viewed 431

Right now, every time I start a new Python file, I have to make a new run configuration in PyCharm in order to run it. Is there a way to have a default configuration that just runs whatever file you are looking at? Or do I just have to make a new config for each file?

1 Answers
Related