<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">#!/usr/bin/python3 at the start of the file, and set the execution bits?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 6:03 PM, Todor Fassl via Ale <span dir="ltr"><<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I got a question from a student who is using python. "I'd rather not hard code in any python version. Is there any reason to have the system default be 2 instead of 3?"<br>
<br>
He had asked me to install the python-matplotlib package. I was like, "Are you sure you want python-matplotlib and not python3-matplotlib?" He is still coding in python2.7 instead of python3 but not by choice. Is there such a thing as a system default python version? To program in python3, doesn't he have to modify his code?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Todd<br>
______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/li<wbr>stinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/li<wbr>stinfo</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Pete Hardie<br>--------<br>Better Living Through Bitmaps</div>
</div>