[Discuss] Python script question
Ian Stokes-Rees
ijstokes at hkl.hms.harvard.edu
Wed Aug 3 12:05:21 EDT 2011
On Wed Aug 3 10:44:43 2011, Dan Ritter wrote:
> On Wed, Aug 03, 2011 at 10:28:20AM -0400, Jerry Feldman wrote:
>> A coworker of mine has a Python script set up as:
>> #! $PATH_TO_PYTHON/python
Another option is to simply have the version of python you want to be
at the head of the system path at execution time, then you can do:
#!/usr/bin/env python
Ian
More information about the Discuss
mailing list