I just happened across the page linked to below, and remembered this thread, and, well... here you go:
http://www.lyra.org/greg/python/ Executable .pyc files Ever wanted to drop a .pyc file right into your web server's cgi-bin directory? Frustrated because the OS doesn't know what to do with a .pyc? (missing the #! line) Look no further! :-) Below is a tiny Bash script to do this. "cat" your .pyc onto the end of this and drop it wherever you need direct execution of that .pyc -- http://mail.python.org/mailman/listinfo/python-list