'import' error in csh
Steve Holden
sholden at holdenweb.com
Thu Jul 12 13:01:09 EDT 2001
"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.994949961.19601.python-list at python.org...
>
> Joonas> That code hasn't gone thru Python interpreter, because the
error message
> Joonas> comes from csh.
> Joonas> Try to fix the first line from '# !/usr/bin/local/python' to
> Joonas> '#!/usr/bin/local/python'
>
> or more likely:
>
> #!/usr/local/bin/python
>
But, preferably:
#!/usr/bin/env python
regards
Steve
--
http://www.holdenweb.com/
More information about the Python-list
mailing list