> #!/usr/bin/python2.5 works for me.
Works on the OLPC and on some Linuxes. Not everybody puts Python
in /usr/bin, unfortunately. That's a local system dependency, rather
than a global constant -- but there it is in your portable Python
program. :-(
I've seen others do "#!env python2.5" which
On Feb 3, 2008 10:51 PM, John Gilmore <[EMAIL PROTECTED]> wrote:
> code. And perhaps Python facilities for specifying what version of
> the interpreter your code expects (and getting such an interpreter to
> execute it, regardless of which interpreter version is the default
> called "python") will
For planning purposes, since OLPC uses so much Python:
Python 3.0 changes a bunch of things. E.g. ordinary strings will be
Unicode, not ASCII. Metaclasses are used with a different syntax.
Raising and catching exceptions uses different syntax. There are lots
of other little improvements. They