#! to two different pythons?

mh at pixar.com mh at pixar.com
Sun Jun 7 00:48:14 CEST 2009


I've got a bunch of python programs on linux that start with:

    #!/usr/anim/menv/bin/pypix

Now I'm moving some to the mac, where I'm changing that to:

    #!/Users/mh/py/bin/python

What's the best way to handle this?  I've got an install script
that rewrites the first line, but if I could eliminate that step I
would be quite happy, since it's the only thing the install step
does.

TIA!!
Mark

-- 
Mark Harrison
Pixar Animation Studios



More information about the Python-list mailing list