Making Programs Executable

David Lees debl2nopeSpammywhammy at bellatlantic.net
Thu May 30 00:59:43 EDT 2002


You might want to check path to your python interpreter.  Try 'which
python' .  Perhaps you don't have the correct path.

David Lees


seraphim wrote:
> 
> I am reading the Python tutorial, and they say to use '#! /usr/bin/env
> python' as the first line to be able to execute the program withought
> having to type 'python file'. I am getting a bad interpreter error. I
> am running Slackware 8.0 and Red Hat 7.3 as well. Any help would be
> nice.



More information about the Python-list mailing list