Run pyc (compiled Python) without the python command

view story

http://forums.fedoraforum.org – I've seen this dotted around the net, but no conclusions seem to be found. I'm trying to write some Python CGIs for some AJAX calls on an intranet. Most of these require filesystem look ups, so PHP doesn't seem ideal. Python is already quicker, but I think quicker still would be to run the .pyc directly (so it doesn't compile each time the .py is called). This causes a problem though; it strips the #! from the header, so shell has no idea how to run the script. Correct me if I'm wrong, but there's no way to tell the CGI handler in Apache to run python for pyc files either. The only (HowTos)