<p>As a python teacher I recommend Geany to newcomers a lot. It's always a pain to explain to them that first you need to change the execute command. The official python installer no longer adds itself to the path variable by default, therefore on a default python install the command "python" does not work. Instead for several years now the python installer also installs the "python launcher" named "py.exe". Users are expected to use the command "py" in the command prompt instead of "python". The python launcher adds support for shebangs to windows, making it easier to control python versions.</p>
<p>I propose that you change the default execute command for python files from <code>python "%f"</code> to <code>py "%f"</code> in order to make Geany on Windows work with python out of the box.</p>
<p>A potential downside is people that install python from Anaconda or similar packages, which do not install the python launcher and therefore still require modifying PATH and using the "python" command. However I feel that a user adept enough to adjust the PATH variable can probably also figure out how to change the execute command.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2211?email_source=notifications&email_token=AAIOWJ7YN3FD44GGOYZYPETP6NTY5A5CNFSM4H65PTHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G54XYGQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4YKU53S62XEUOVYR3P6NTY5ANCNFSM4H65PTHA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJY22WR4VG4RNVIO5EDP6NTY5A5CNFSM4H65PTHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G54XYGQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2211?email_source=notifications\u0026email_token=AAIOWJ7YN3FD44GGOYZYPETP6NTY5A5CNFSM4H65PTHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G54XYGQ",
"url": "https://github.com/geany/geany/issues/2211?email_source=notifications\u0026email_token=AAIOWJ7YN3FD44GGOYZYPETP6NTY5A5CNFSM4H65PTHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G54XYGQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>