Web Based Front End?

baseelinger at yahoo.com baseelinger at yahoo.com
Fri May 8 03:52:01 CEST 2009

I have been using Python for several years now and although my main
occupation is not directly related to writing code I have been able to
use Python to accomplish writing complex configuration files and
analyzing data against standards, etc.  I now have a requirement to
provide a web based interface rather than say using the IDLE GUI for
several reasons, (allowing others to use a server based Python script
and to provide a slicker user interface via the users web browser).

As I wade into very new territory I see articles on PHP, mod_python,
Python Server Pages, CGI, Zope, Python in PHP, CherryPy, Pylons, etc.,
etc.  It's all pretty confusing and while one method may work to
accomplish the task at hand someone with far greater experience may
look at the situation and say, "um, yeah, it will work that way but it
would have been a whole lot easier if you had done it this way...".

So, my question is what is the best method to be able to have a user
enter specific data on a web page, have that data be passed to the
Python script and then have the output returned to the web page?
Essentially, I want to use a web based front end to accomplish the
same thing that the IDLE GUI does, (asks me a few questions, I answer
them, it builds a configuration file and prints it to the screen).

A basic example can be found at http://webpython.codepoint.net/wsgi_request_parsing_post
using httpd in Python but its seems very basic.

Can anyone point me in the right direction?  Thanks in advance for any
assistance you may be able to provide.

More information about the Python-list mailing list