Python web service ...

NicolasG nicolasg at gmail.com
Sat Aug 26 12:12:50 EDT 2006


> For a one-shot thing, plain old CGI might be enough. You can have a
> static HTML page with the form for the upload, have python do the
> image part, and generate the return HTML with the image with a python
> script.  If you plan to do this a lot, or want fairly sophisticated
> stuff, or DB access underneath, authentication, etc, then you might
> want to look at any of the web framewoks. If you don't have the web
> server part already taken care of (e.g., you already have Apache up
> and running) then the web server framework can be more attractive.
>
> As for web frameworks there is a long list in the Python web site.
> Which framework fits you best might depend on what you want to
> accomplish now and in the future. You can try something simple and
> minimalist (and with docs that you can read in less than an afternoon)
> such as Karrigell, or try something more complex, such as Django,
> TurboGears, Pylons, CherryPy, etc.
>
> And then, you might try the CGI approach to begin with, and as your
> needs become more complex, move to a framework. (This has been our own
> path: we've used plain CGI for over a year for the web-based
> bioinformatics applications we've developed, that use R and Python for
> computations, and are now moving to  framework).
>
> Good luck!
>
> R.
>
> --
> Ramon Diaz-Uriarte

At this time right now I prefer to do something that works the quickest
possible...
I never had any experience with CGI, do I need to set up a web server
for that ?
can you point me some usefull reading material so I can get a start ?
I will post for a comment at Zope , I had installed once and it was
very easy. Don't know if it will be easy too to get my job done...

Gracias Ramon.




More information about the Python-list mailing list