<p>This is a test for Python3 (and Python (2)): <a href="http://pastebin.com/Hq2M5QhM">http://pastebin.com/Hq2M5QhM</a> The output is:</p>

<pre><code>Is Python (2) and not Python 3:
/tmp/nep2.py 1
/tmp/ndp2.py 1
/tmp/sep2.py 1
/tmp/sdp2.py 1
/tmp/nep3.py 0
/tmp/ndp3.py 0
/tmp/sep3.py 0
/tmp/sdp3.py 0
Is Python (3) and not Python (2):
/tmp/nep2.py 0
/tmp/ndp2.py 0
/tmp/sep2.py 0
/tmp/sdp2.py 0
/tmp/nep3.py 1
/tmp/ndp3.py 1
/tmp/sep3.py 1
/tmp/sdp3.py 1
</code></pre>

<p>I would like to suggest two implementations. The first is that Python 3 is automatically recognised with a mechanism similar to as describer above. The second is that the user can set in Preferences what the default is. Now the default is Python (2) but I know many organisation which are allow to develop only in Python 3. For people there it would be very practical and time saving that they can change the default.</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/1298#issuecomment-260119702">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ6kr37dCHzDuzZRIP3J7Htu0B47Pks5q9bKmgaJpZM4Kv_Hv">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwIkr3kJpOvwqFkU5tLnTg6hl01eks5q9bKmgaJpZM4Kv_Hv.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1298#issuecomment-260119702"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@PanderMusubi in #1298: This is a test for Python3 (and Python (2)): http://pastebin.com/Hq2M5QhM The output is:\r\n\r\n    Is Python (2) and not Python 3:\r\n    /tmp/nep2.py 1\r\n    /tmp/ndp2.py 1\r\n    /tmp/sep2.py 1\r\n    /tmp/sdp2.py 1\r\n    /tmp/nep3.py 0\r\n    /tmp/ndp3.py 0\r\n    /tmp/sep3.py 0\r\n    /tmp/sdp3.py 0\r\n    Is Python (3) and not Python (2):\r\n    /tmp/nep2.py 0\r\n    /tmp/ndp2.py 0\r\n    /tmp/sep2.py 0\r\n    /tmp/sdp2.py 0\r\n    /tmp/nep3.py 1\r\n    /tmp/ndp3.py 1\r\n    /tmp/sep3.py 1\r\n    /tmp/sdp3.py 1\r\n\r\nI would like to suggest two implementations. The first is that Python 3 is automatically recognised with a mechanism similar to as describer above. The second is that the user can set in Preferences what the default is. Now the default is Python (2) but I know many organisation which are allow to develop only in Python 3. For people there it would be very practical and time saving that they can change the default."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1298#issuecomment-260119702"}}}</script>