For some of our projects we use MacHTTP to serve Python CGI's under OS9.
Using Python CGI's with MacHTTP
Enter the following in your MacHTTP config file.
ACTION PYTHON :PythonCGISlave SUFFIX PYTHON .py APPL * text/html
This allows you to execute your actual .py files without having to use the Python conversion to script file utility.