[mod_python] Re: mod_python on Windows

Gregory Bond gnb at itga.com.au
Tue Jun 24 10:21:36 EST 2003

>     def handler(req):
>     ^
> SyntaxError: invalid syntax

This really looks like a plain python indentation/whitespace error, not a
mod_python thing.  Can you run "python test.py" without syntax errors? (I know
it will fail in the import stage, but your error message says it isn't even
getting that far.)

More information about the Mod_python mailing list