Examples/modpython_dbg.py

Tue, 06 Aug 2019 16:42:39 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 06 Aug 2019 16:42:39 +0200
branch
micropython
changeset 7122
8e67ef7975de
parent 0
de9c2efb9d02
permissions
-rw-r--r--

CircuitPythonDevices: added some TODO markers.

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