title: Use Keyboard Shortcut to Open .py File in Editor Window
body: <p>I am trying to open an existing .py file in the Python editor window using only a keyboard shortcut. </p>
  
  <p>I have created a script that opens the file I am trying to open:</p>
  
  <pre><code>    open(r'path\to\file.py')
  </code></pre>
  
  <p>and created a shortcut to this script and added a keyboard shortcut in the shortcuts properties window. </p>
  
  <p>When I run the shortcut, it only runs the file but does not open it in the editor window.</p>