Examples/modpython_dbg.py

changeset 0
de9c2efb9d02
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 from mod_python import apache
2
3 apache.initDebugger('/Path/To/modpython_dbg.py')
4
5 def handler(req):
6 req.content_type = "text/plain"
7 req.send_http_header()
8 req.write("Hello World!\n")
9
10 return apache.OK

eric ide

mercurial