Python as a web server?

Oleg Broytmann phd at phd.pp.ru
Tue Jan 23 04:58:01 EST 2001


On Tue, 23 Jan 2001, Aaron wrote:
> Hi all, I was wanting to dable in writing a very simple online turn based
> game, and was wondering if python could manage the server and client side of
> things? I'd need database access on the server, and would need to be able to
> get the client to print text of course, and draw some simple graphics like
> lines, circles, fills, points and the odd image.
>
> Could someone tell me if this is possible or should I use something else
> (Like php). If python is the way to go do you have any links on python
> server writing?

   Python is definetely the way to go. Python camoes with few simple HTTP
servers right in the standard library. For client side, there are
httplib.py, sgmllib/htmllib/py, Cookie.py, etc.

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list