On Mon, Jun 7, 2010 at 1:16 PM, Thomas Jollans <t...@jollybox.de> wrote:
> On 06/07/2010 07:45 PM, Dan Stromberg wrote: > > > Call me strange, but I regard this as a good place to use a functional > style - IE, to use reduce, and furthermore I regard this as a good example > of why reduce is useful for more than just summing numbers: > > #!/disc/gx/sdfw/dans/python26/bin/python > > this line is shouting to be replaced with > #!/usr/bin/env python > ;-) > > I used to do that a lot, but: 1) I often have more than one version of python around. 2) It makes "ps -ef" a bit less descriptive - the command shows up as "python" rather than the name of the script, at least in some scenarios. So believe it or not, I've been changing -from- #!/usr/bin/env python.
-- http://mail.python.org/mailman/listinfo/python-list