[Tutor] Shebang problem
tpc@csua.berkeley.edu
tpc@csua.berkeley.edu
Fri Jun 27 12:28:04 2003
What error message is Suse giving you ? If it is an ImportError you may
want to try:
#!/usr/bin/env python
On Fri, 27 Jun 2003, Rick Thomas wrote:
> Hi,
>
> I'm very new to programming and am plodding my way through Alan Gauld's book
> 'Learn to Program Using Python'. At present I can't get my programs to
> execute using the Shebang trick.
>
> #!/usr/bin/python
>
> My scripts ran fine when I was using SuSE 7.3 but I've recently upgraded to
> 8.3 and wondered if this is somehow the problem. My scripts run ok if I type
> for example 'python foo.py' in a terminal.
>
> Any advice would be much appreciated.
>
> Rick Thomas
>
>
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>