tcp

Diez B. Roggisch deets at nospam.web.de
Sun Mar 2 16:56:26 CET 2008


Gif schrieb:
> sorry for acting like a fool but this is just to weirdly easy that i
> can't get to work. i've written a small web server in another language
> and this is more like copying code.
> i already have everything figured out, except this one but noone seems
> either willing or capable of helping me.
> again sorry but i was in a very bad mood.

Writing a webserver (you NEVER stated that that is your ultimate goal) 
is a two-liner in Python.

See the module SimpleHTTPServer.

Using the extremely lowlevel module socket is a totally different beast. 
It requires rather deep knowledge of unix sockets, and has a steep 
learning curve.

Diez



More information about the Python-list mailing list