[Tutor] Shebang problem

Jonathan Soons jsoons@juilliard.edu
Tue Jul 1 17:00:06 2003


For security reasons your profile prevents you executing a file in your =
CWD. So try './foo.py'

jonathan soons

-Message: 3
From: Rick Thomas <highrik@ntlworld.com>
To: Tutor@python.org
Subject: Re: [Tutor] Shebang problem
Date: Tue, 1 Jul 2003 18:18:55 +0100

On Friday 27 June 2003 17:34, Abel Daniel wrote:
> 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=20
> > if I type for example 'python foo.py' in a terminal.
> >
> > Any advice would be much appreciated.
=20