On 26 Aug 2006 09:12:50 -0700, NicolasG <[EMAIL PROTECTED]> wrote: > > 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 ?
Yes, you'd need to configure a web server. I don't know whether you are on windows or Unix/Linux, and that could seriously affect how easy it is to set up a web server. Most Linux distros make installing apache a piece of cake, but configuring Apache might not be trivial. Thus, maybe the fastest and easiest is, as other posters have suggested, to try Karrigell. > 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... > But Zope seems to have a steep learning curve and it is a big system. It might be a huge hassle for what you want. Best, R. -- http://mail.python.org/mailman/listinfo/python-list