2007-05-19から1日間の記事一覧
Pythonのドキュメントって微妙に分かりにくい。調べりゃ分かるんだろうけど。で、プチHTTPサーバを作ってみた。 import BaseHTTPServer class MyHTTPServlet(BaseHTTPServer.HTTPServer): def __init__(self, addr, handler): print MyHTTPServlet.__bases__…
Pythonのドキュメントって微妙に分かりにくい。調べりゃ分かるんだろうけど。で、プチHTTPサーバを作ってみた。 import BaseHTTPServer class MyHTTPServlet(BaseHTTPServer.HTTPServer): def __init__(self, addr, handler): print MyHTTPServlet.__bases__…