Geany - Python execution error: "is not recognized as an internal or external command"
<p>I'm trying to run my scripts in Geany and get the following message:</p>

<pre><code>"'C:\Users\Krishn' is not recognized as an internal or external command, operable program or batch file"
</code></pre>

<p>Please see my build configuration as below:</p>

<pre><code>Compile - C:\Users\Krishn Patel\AppData\Local\Programs\Python\Python35-32 -m py_compile "%f"

Execute - C:\Users\Krishn Patel\AppData\Local\Programs\Python\Python35-32 "%f"
</code></pre>

<p>Thanks in advance.</p>

<p>The problem is you have a space in your windows user name<code>Krishn Patel</code>. You should escape that space by putting <code>^</code> behind it or putting the command between <code>"</code>.
<a href="http://superuser.com/questions/279008/how-do-i-escape-spaces-in-command-line-in-windows-without-using-quotation-marks">http://superuser.com/questions/279008/how-do-i-escape-spaces-in-command-line-in-windows-without-using-quotation-marks</a></p>

python python-3.x geany