[Tutor] Permissions Problem with Python

Todd Stephens tbstep at tampabay.rr.com
Sun Sep 14 09:12:24 EDT 2003


On Sunday 14 September 2003 08:20 am, Peter Brown wrote:

> I have the following line at the start of  create_table.py  - #!
> /usr/bin/env python.

Here's the "d'oh!" question: Have you made this file executable? Chmod 
755 or 555 on that file.  Also, if the file is not located in a 
directory in your path, you'll need to prefix the file name with its 
own path.  If the file is in your home directory, you could not execute 
it just by #foo.py,  you would have to say #~/foo.py.


-- 
Todd Stephens
ICQ# 3150790




More information about the Tutor mailing list