| Python 2.2 für Einsteiger | ||
|---|---|---|
| <<< Previous | Einführung anhand von Beispielen | Next >>> |
import CGIHTTPServer, BaseHTTPServer
class Handler(CGIHTTPServer.CGIHTTPRequestHandler):
cgi_directories = ["/cgi-bin"]
def startServer():
PORT = 8020
httpd = BaseHTTPServer.HTTPServer(("", PORT), Handler)
httpd.serve_forever()
| <<< Previous | Home | Next >>> |
| Threads | Up | Primzahlen bis 100 |