You probably know you can package #python files into a zip file and python will execute it like a script. But did you know that you can put a #shebang line in it?
If `foo.zip` contains `__main__.py` you can do
`echo '#!/usr/bin/python | cat - foo.zip > foo`
and
`chmod u+x foo`
then you can run `foo` like an ordinary program and it will run the contents of `__main__.py`
although I have no idea if you *should* do this.