PDA

View Full Version : Python help



zerkk
July 28th, 2008, 05:16 AM
I've been following tutorials for days, and I do everything that is instructed and for some reason I keep getting the same error when I try and execute a file,

No such file or directory


I've tried everything I can find, and I'm getting to the point were I just want to give up.
Thank you so much in advance for your help.

tamoneya
July 28th, 2008, 05:21 AM
that is because the file is not marked as executable. Assuming that the file is /home/user/myprogam.py you should run this command to fix it:
chmod +x /home/user/myprogram.py

zerkk
July 28th, 2008, 05:25 AM
wow,

I cant tell you how many times I tried that, and instead of actually typing the /user name i typed the actual word "user"

Thank you!