title: Running python 3.6 scripts in console
body: <p>I'm using PyCharm IDE to edit python 3.6 scripts and would like to run them in the console in order to look at system variables to debug. I'm used to the 2.7 interpreter and was able to run code in the console using the following command:</p>
  
  <pre><code>%run MyScript.py
  </code></pre>
  
  <p>The same command doesn't seem to work in a 3.6 console and I was not able to find a post answering this question. I'm relatively new to python and this should seem like something basic so maybe I've been searching posts with the wrong keywords. Any help is appreciated, thank you.</p>