Python and IIS

Robert Plant robert.plant at clara.co.uk
Fri May 17 12:29:44 EDT 2002


Hi,

I am sorry if this seems a stupid post but i really dont know how to do
it.....

I would like to configure IIS 5 to use python cgi scripts.

I have set up the registry to use the "c:\<prog loc>\python.exe" -u %s %s
A question about this, i created a new string value called .py is this
right??

I am confused as to where to put the python script in IIS, and how to
reference the python location in windows, i have only used it in linux
before, ie !#/usr/bin......

I put the scripts in a directory in the root folder.

Anyway, i put the script in a directory and made a html file, but when i
click the button it only prints out the file as text.

Please could somebody help me.

Thanks
rob





More information about the Python-list mailing list