Structure of program development

Chris Angelico rosuav at gmail.com
Mon Jul 4 20:02:41 EDT 2016


On Tue, Jul 5, 2016 at 9:56 AM, Lawrence D’Oliveiro
<lawrencedo99 at gmail.com> wrote:
> On Tuesday, July 5, 2016 at 7:51:18 AM UTC+12, BartC wrote:
>
>> However the Linuxes I've seen tend to have Python pre-installed.
>
> Some are even dropping Python 2, and only having Python 3 by default.

Yes, so your best bet is to aim for Python 3.3+ or 3.4+ compatibility,
and start your program like this:

#!/usr/bin/env python3

ChrisA



More information about the Python-list mailing list