Re: python scripts with IIS

2008-01-19 Thread william paul
Thank you, William - Original Message From: Rolf van de Krol <[EMAIL PROTECTED]> To: python-list@python.org Sent: Saturday, January 19, 2008 5:33:59 PM Subject: Re: python scripts with IIS Adding the following lines before your print statement should do the trick. IIS complains

Re: python scripts with IIS

2008-01-19 Thread Rolf van de Krol
Adding the following lines before your print statement should do the trick. IIS complains about the headers, so adding headers should help. print "Content-Type: text/html" # HTML is following print # blank line, end of headers william paul wrote: > > Hello: