<p></p>
<blockquote>
<p>N.B. The <code>py</code> launcher on Windows is a bit strange: it seems to try to auto-detect the desired Python version and it fails (at least sometimes). A simple Hello-World program using Python3 syntax can be compiled with <code>py -m py_compile</code> as the launcher chooses Python3 but executing it with <code>py "%f"</code> chooses Python2, for whatever reason.<br>
But since this happens also in the terminal, it is unrelated to this PR and Geany in general.</p>
</blockquote>
<p>Well, if it doesn't work maybe it's worse to use it than something less magical?  I don't know what the Windows installer does, but if there is <code>python</code>, <code>python2</code> or <code>python3</code>, maybe we should pick one that is consistent in behavior instead of using <code>py</code> that apparently behaves randomly?</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/pull/2223#issuecomment-706073180">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYGALDUKQCKMBSO7MDSJ3JFJANCNFSM4IE5OAMA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6OB3JCACSBJ4IONALSJ3JFJA5CNFSM4IE5OAMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFIK5EXA.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/pull/2223#issuecomment-706073180",
"url": "https://github.com/geany/geany/pull/2223#issuecomment-706073180",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>