Emacs question

M.Miller mmiller3 at iupui.edu
Fri Jan 14 09:56:15 EST 2000


>>>>> "William" == William Annis <annis at biostat.wisc.edu> writes:

    >         Well, that's certainly true.  I suppose I should
    > have mentioned in passing that I've had trouble with some
    > operating systems trying to parse this:

    > #!/usr/bin/env python --  # -*- python -*-

    > Solaris has no problem with this.  Linux bleats bitterly
    > about it, which was something of a nightmare when we
    > started using Linux last year.  I assumed Daryl wanted to
    > write executable scripts and forgot to mention the line
    > above is not exactly portable, and thus my preference for
    > the other trick.

This is much more portable:

#!/usr/bin/env python
# -*- python -*-


Mike



More information about the Python-list mailing list