Reading direcly from HTML input?

Graham Bleach itdcgb at its.hants.gov.uk
Thu May 18 11:53:06 EDT 2000


<shengquan at yahoo.com> wrote in message news:8g108h$7m8$1 at nnrp1.deja.com...
> I'm a newbie to Python.
> I wonder if there is a way for Python
> to read directly the user input of a
> HTML table.

Do you mean user input from a HTML form?
If so, you can use the cgi module.
There is an example of exactly that at:
http://www.devshed.com/Server_Side/Python/CGI/page4.html

You should probably read the whole article:
http://www.devshed.com/Server_Side/Python/CGI/

A good place to start for these topics:
http://www.python.org/topics/web/basic-cgi.html

> Do I have to build some Java interface
> to do that?

No.

> Thanks.

HTH
G





More information about the Python-list mailing list