Trouble with Python and PWS

Jon Cosby jcosby at
Wed Mar 8 03:02:34 CET 2000

I'm having trouble running CGI scripts under Personal Web Server 4.02. It's
recognizing Python as the interpreter, but Python can't open the  script
file. The message I'm getting is

CGI Error

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

C:\Program Files\Python\python.exe: can't open file

"hello.cgi" is a simple print hello command, with the header. Is anybody
familiar with this problem? Anyone have a suggestion?

Jon Cosby

Email: jcosby at

More information about the Python-list mailing list