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