On 8/31/05, Simon Brunning <[EMAIL PROTECTED]> wrote: > On 8/31/05, Craig Amundsen <[EMAIL PROTECTED]> wrote: > > Did you mean #! /usr/local/bin/python > > or #! /usr/local/bin python ? > > I meant the latter - the first version works for me too. Thanks. > > I extrapolated "#! /usr/local/bin python" from the shebang line that > ran stuff with the OS's version of Python, "#!/usr/bin/env python". > Clearly, I don't have a clue as yet. ;-)
#!/usr/bin/env python is actually saying to invoke the "env" command (you can type 'man env' to see what that command's all about). This particular usage of env does not actually do anything of value, as far as I can see. You could have gotten the equivalent working with your python of choice by doing this: #!/usr/bin/env /usr/local/bin/python Kevin _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig