I have written a library in python, that is kind of like a scripting language, and I had the idea of turning the library into a terminal executable that could be called like:
myprogram /path/to/file
So like python runs .py, this would run the file with the functions defined in my library. Is this at all possible?