No module named server

Thomas Lehmann t.lehmann at rtsgroup.net
Fri May 7 03:54:52 EDT 2010


Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on win32

Script:
from http.server import HTTPServer, CGIHTTPRequestHandler

Result:
Traceback (most recent call last):
  File "http.py", line 1, in <module>
    from http.server import HTTPServer, CGIHTTPRequestHandler
  File "F:\Checkouts\projects\python\http.py", line 1, in <module>
    from http.server import HTTPServer, CGIHTTPRequestHandler
ImportError: No module named server



More information about the Python-list mailing list