close

How can I run the current file in PyCharm

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How can I run the current file in PyCharm in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How can I run the current file in PyCharm?

  1. How can I run the current file in PyCharm?

    The key combination you are looking for is Ctrl + Shift + F10. This will run the current script with current being the one displayed in the viewer.

  2. run the current file in PyCharm

    The key combination you are looking for is Ctrl + Shift + F10. This will run the current script with current being the one displayed in the viewer.

Method 1

As it turns out, the action I was seeking is “Run context configuration” (or “Debug context configuration” for debugging). The default key binding on Windows is ctrl+shift+f10, or ctrl+option+R on Mac, as Ev. Kounis pointed out, although you can bind it to any key you like.

These settings can be found under the “Other” section in File->Settings->Keymap. The easiest way to find them is to simply use the search box.

Method 2

The key combination you are looking for is Ctrl + Shift + F10. This will run the current script with current being the one displayed in the viewer.

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read