June 15, 2014

Python – run python scripts

You have to do this from the powershell command line:


You can find all my latest posts on medium.


  1. user powershell to cd to the directory containin the py file.
  2. from the powershell command line type “python {script-name}.py”


to load From within python, check out:

This link says you need to navigate to the python script directory using powershell, start terminal session, then do:

<span class="kwd">exec</span><span class="pun">(</span><span class="pln">open</span><span class="pun">(</span><span class="str">"./"</span><span class="pun">).</span><span class="pln">read</span><span class="pun">())</span>