Permission Denied

hiaips rosedb0 at gmail.com
Sat Aug 19 21:54:07 EDT 2006


Tom Strickland wrote:
> Hopefully this is a simple question. I've started to program in Python
> after an absence of about a year, so I'm very rusty. I wrote a short
> program and tried to run it using Python2.4 in Linux. I keep getting
> "permission denied" messages after entering the path to the program. I
> switched to the root directory and tried again, but got the same
> result.I ran a very similar program earlier and it ran fine.
>
> What am I doing wrong? The program is:
>
>
> #!/usr/bin/python2.4
> i=1
> while i<10000:
>     print 'step 1',i
>     i+=1
> raw_input()
> print 'step 2'
> 
> 
> Thank you.
> 
> Tom


Is your script executable?




More information about the Python-list mailing list