[Tutor] What lib should I use?

Alan Gauld alan.gauld at btinternet.com
Mon May 26 02:11:22 CEST 2008


"Julia" <midnightjulia at gmail.com> wrote

> I need to write a program what can do two things:
> 
> 1) get data from the website
> 2) send information from a textfield (e.g. like a google search)

There are lots of web frameworks for Python that you could use.

The most basic is the standard cgi module in the standard library.
Moving up frfrom there something like CherryPy is a good bet. 
But for what you describe vanilla cgi is fine. Read the docs and 
topic guide on the Python web site.

http://wiki.python.org/moin/CgiScripts

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld





More information about the Tutor mailing list