1. Install python-2.5.2.msi
The latest python3.0 is not used here because Google app engree currently runs version 2.5 on the server.
2. Install ActivePython-2.5.2.2-win32-x86.msi
3. Set c: \ python25 \ python.exe % S % s in site ISAPI and CGI restrictions.
4. Add "*. py" to c: \ python25 \ python.exe % S % s ing to the handler ings of the site.
5. After the preceding settings, add the following records to the Web. config file:
<? XML version = "1.0" encoding = "UTF-8" ?>
< Configuration >
< System. Webserver >
< Handlers >
< Add Name = "Activestate2.5.2" Path = "*. Py" Verb = "*" Modules = "Cgimodule"
Scriptprocessor = "C: \ python25 \ python.exe % S % s" Resourcetype = "Unspecified" />
</ Handlers >
</ System. Webserver >
</ Configuration >
6. Compile helloworld. py
Print ' Status: 200 OK '
Print ' Content-Type: text/html '
Print ''
Print ' <HTML> '
Print ' <Body> '
Print ' <H1> Hello, world! </H1> '
Print ' </Body> '
Print ' </Html> '