Newbie Question!

Steve Holden sholden at holdenweb.com
Mon Aug 6 21:24:40 EDT 2001


<ksunair at yahoo.com> wrote in message
news:mailman.997131131.27927.python-list at python.org...
> Hello,
>
> I am new to Python and interested to develop a new website using only
> Python. I would like to know, few things
>
> 1. Is there a simple example out there to print 'Hello World' on web?
> like the one in PHP
> <html><body><?php echo 'hello World' ?> </body></html>
>
> 2. Is there a tutorial or documentation available anywhere on the
> net, how to use MySql with Python?
>
Well I can answer your first question: see

    http://pydish.holdenweb.com:8080/DeptHome/python

(which is itself a pure Python web) for a small CGI server in Python. I
think you'll be surprised how small. Run that from the same directory as an
index.html file containing your favored HTML page, and access is at

    http://127.0.0.1:8000/

I don't use MySQL.

its-me-back-see-ly y'rs  - steve
--
http://www.holdenweb.com/







More information about the Python-list mailing list