Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .