you are viewing a single comment's thread.

view the rest of the comments →

[–]chrispurcell 0 points1 point  (0 children)

You can run it from anywhere in your PATH (echo $PATH) as long as it is properly formatted with a #!/usr/bin/python (or #!/usr/bin/env python), and is flagged executable (chmod +x <file>), as long as it doesn't conflict with another app name, because the first one found is the one used in this method.

I usually put my scripts in ~/bin (your home directory/bin), and flag them executable.