Running PYC files on Windows2000 with IIS

Colin Meeks colin at meeks.ca
Fri Jul 20 10:33:35 EDT 2001


I currently have Python 1.5.2 running fine under Windows2000 with IIS using
regular .PY files. I've tried configuring IIS to run .PYC files in a similar
fashion to .PY files, but when I run a file through my browser I get the
following message


CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
RuntimeError: Bad magic number in .pyc file


Does anybody know what I'm doing wrong?

Colin





More information about the Python-list mailing list