Examples/modpython.py

Wed, 08 Apr 2020 18:27:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 08 Apr 2020 18:27:44 +0200
changeset 7510
ef5dd4fc2144
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Added some more dark lexer styles.

from mod_python import apache

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

    return apache.OK

eric ide

mercurial