Permission Denied

Tom Strickland tlinux at comcast.net
Sat Aug 19 20:11:19 EDT 2006


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



More information about the Python-list mailing list