Python scripts in IIS

Andrew Clover and-google at doxdesk.com
Wed Feb 25 12:00:45 CET 2004


Jon Cosby <jcosby at nospam.net> wrote:

> Thanks. I had left out the trailing arguments. What is "%s" for, anyway?

It gets substituted with the name of the .py file.

Note: you really want -

   ...python.exe -u %s %s

The -u ensures you get binary IO streams, which will become significant if
you are receiving file upload fields or returning a non-textual response
(ie. file download).

-- 
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/



More information about the Python-list mailing list