Examples/modpython_dbg.py

Sun, 23 Jun 2013 13:12:38 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Jun 2013 13:12:38 +0200
changeset 2736
86cd4d14b58e
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Added a wizard for the Qt5 QRegularExpression class.

from mod_python import apache

apache.initDebugger('/Path/To/modpython_dbg.py')

def handler(req):
    req.content_type = "text/plain"
    req.send_http_header()
    req.write("Hello World!\n")

    return apache.OK

eric ide

mercurial