I suppose I could be a little more helpful. PEP 8 says nothing WRT this. Wikipedia seems to suggest using '/usr/bin/env python' is a good idea.
http://en.wikipedia.org/wiki/Shebang_(Unix) mdipierro wrote: > Those lines were put there by PythonTidy so I assume we should not > change them. What does pep8 say? > > On Feb 11, 12:55 pm, Kacper Krupa <pageno...@gmail.com> wrote: > >> I've created symbolic link. It works but using /usr/bin/env python is >> better i think. >> >> On 11 Lut, 19:51, Kacper Krupa <pageno...@gmail.com> wrote: >> >> >>> It's 'cos i have another python on /usr/lib/python. When i've added #!/ >>> usr/bin/env python it choose python from PYTHONPATH. >>> >>> On 11 Lut, 19:45, Wes James <compte...@gmail.com> wrote: >>> >>>> if you do >>>> >>>> which python >>>> >>>> at the command line what do you get? >>>> >>>> How it is now has always worked on my macs. >>>> >>>> Do you have something weird set in your .bashrc? >>>> >>>> Time for archive and install? >>>> >>>> On Wed, Feb 11, 2009 at 11:11 AM, Kacper Krupa <pageno...@gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> #!/usr/bin/python returns errors on my mac. I had to change it to #!/ >>>>> usr/bin/env python. I think you shoud replace it. >>>>> >>>>> Thanks. >>>>> > > > -- Timothy Farrell <tfarr...@swgen.com> Computer Guy Statewide General Insurance Agency (www.swgen.com) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---