I could add #! /usr/bin/python in the beginning of python script and add this script to PATH in order to run it as a command.
But could anyone explain to me what does '#' and '!' mean separately in python and what other language has this mechanism?
Thanks
# followed by anything is a comment; so far as Python itself is concerned, that's it.  Unix, on the other hand, will parse out the /usr/bin/python so that it knows how to run your code.
the meaning of #! in python separately