title: Pycharm 2020.1.2 - .py file - Open File in Project
body: <p>I came back to pycharm for a project from SublimeText and updated to Pycharm 2020.1.2, I needed to quickly run a .py file, but when I double click the file, it opens the script in a view where I can edit but not run, so every time I have to go to File-&gt;Open File in Project. I don't remember having to do that in earlier versions of Pycharm, how can I circumvent that and always have Pycharm open a .py file in Project view?</p>
  <p><a href="https://i.stack.imgur.com/ML6Qz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ML6Qz.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/Utt5B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Utt5B.png" alt="enter image description here" /></a></p>