Python Widget to read in user input box in blog

Diez B. Roggisch deets at nospam.web.de
Tue Apr 24 11:05:52 CEST 2007


ecpbm765 at gmail.com wrote:

> Hey,
> 
> I am helping to develop a project that displays images based on user
> input.  One possible way of implementing this is via a widget that
> when it is run, would read in the users input from an input text field
> (probably from a blog), and replace it with the HTML that would
> display those images.  This is more a proof of concept, so really all
> I am wondering is if there is a good way in Python to read in the text
> the user has typed and change it before the user hits submit?

Are you talking about a webapplication here? If yes - and the mentioning of
HTML somehow implies that - you can't do that in python, as client-side
code in browsers is Javascript.

However there are frameworks - TurboGears, Django, Pylons - that make rapid
web-application development easy, with good ajax-support.

Diez



More information about the Python-list mailing list