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?


Maybe "properties -> set executable [x] ?

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


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

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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