0

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?

2 Answers 2

0

Maybe "properties -> set executable [x] ?

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

2

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

2
  • 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 Aug 28, 2009 at 6:10
  • 2
    well,the permissions also matter,you don't want unauthorized users running your script,do you? Aug 28, 2009 at 17:24

You must log in to answer this question.

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