Hey to the tutors. I am a newbie of course about the only background is some old qbasic and very little c and perl. I have been wanting to write my own Web Server Program and when I saw a few times mentioned around python about it I am starting to check into it. If the is anyone who has done such a thing or can oint me in the best direction for learning about it please respond. Thanks in Advance
There are many options for doing this. For a very simple server you might look at the standard library modules mentioned by Lutz; there is also a CGIHTTPServer module. You can also write CGI programs in Python for use with another web server such as Apache. Basic information about writing CGI's in Python is here:
http://www.python.org/topics/web/basic-cgi.html
Beyond that, the options multiply. This web page lists many of them: http://www.python.org/moin/WebProgramming Snakelets is one that is oriented toward ease of learning. Quixote, CherryPy and Twisted are probably the most popular.
If you give us some more information we might be able to help you narrow down the options a little. Is this just for fun and learning or will it be a production site eventually? Do you want to create dynamic content or just serve static web pages?
Ultimately though the selection is a matter of finding an alternative you are comfortable with.
Kent
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor