Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Let's say I have a Python script sitting in a folder I just opened with the graphical file manager in standard Ubuntu. What would be the quickest way to run it?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Maybe "properties -> set executable [x] ?

while struggling with how to import JVC's weird .mod format to standard .mpeg...

share|improve this answer
add comment

mark it as executable first,ensure you have python installed,then double click on it

you can mark files executable with the following command

chmod a+x filename

where filename here is the name of the file you want to make executable

share|improve this answer
3  
Also, make sure that the script has the hash-bang line at the beginning (like #!/usr/bin/env python): en.wikipedia.org/wiki/Hash-bang –  Jukka Matilainen Aug 28 '09 at 6:10
2  
well,the permissions also matter,you don't want unauthorized users running your script,do you? –  Mahmoud Hossam Aug 28 '09 at 17:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.