/usr/bin/env: python: No such file or directory
Scott David Daniels
daniels at developNET.com
Wed Jan 2 19:47:10 EST 2002
Chris Barker <chrishbarker at attbi.com> wrote in message news:<3C225488.AF5C93F4 at attbi.com>...
> Cliff Wells wrote:
> How would the interpreter know what version was required? That's exactly
> what I think we need...A way to tell the interpreter what version is
> required by a script.
How about:
import sys
assert 0x2010000 < sys.hexversion < 0x2030000
at the top of the script (to insist on 2.1 or 2.2).
-Scott
More information about the Python-list
mailing list