Re: program organization question for web development with python

2010-09-27 Thread Hans
On Sep 17, 2:36 am, Bruno Desthuilliers wrote: > Hans a écrit : > (snip) > > > Maybe I did not make my question clear. I never tried python web > > programing before, so I want to start from CGI. > > You can indeed learn quite a few things doing raw CGI - the most > important one being why framewo

Re: program organization question for web development with python

2010-09-19 Thread Lawrence D'Oliveiro
In message <6102316a-d6e6-4cf2-8a1b-ecc5d3247...@w15g2000pro.googlegroups.com>, Hans wrote: > print """%s""" % > (record[0],table_name,cursor_name,record1) I would recommend avoiding filename extensions in your URLs wherever possible. For executables, in particular, leaving out the “.py” or “.p

Re: program organization question for web development with python

2010-09-17 Thread Bruno Desthuilliers
Hans a écrit : (snip) Maybe I did not make my question clear. I never tried python web programing before, so I want to start from CGI. You can indeed learn quite a few things doing raw CGI - the most important one being why frameworks are a good idea !-) I read something about web framewor

Re: program organization question for web development with python

2010-09-16 Thread Iuri
Another pretty web framework is Bottle (http://bottle.paws.de). It is very easy to setup and use. I use it to tasks like this one you want. []s iuri On Thu, Sep 16, 2010 at 3:01 PM, MRAB wrote: > On 16/09/2010 18:19, Hans wrote: > >> On Sep 15, 5:33 pm, James Mills wrote: >> >>> On Thu, Sep 1

Re: program organization question for web development with python

2010-09-16 Thread MRAB
On 16/09/2010 18:19, Hans wrote: On Sep 15, 5:33 pm, James Mills wrote: On Thu, Sep 16, 2010 at 10:14 AM, Hans wrote: I'm new to this area. Please allow me to ask some (maybe stupid) questions. Without reading the rest of your post too much. Designs are up to you, I can't comment. I can on

Re: program organization question for web development with python

2010-09-16 Thread Hans
On Sep 15, 5:33 pm, James Mills wrote: > On Thu, Sep 16, 2010 at 10:14 AM, Hans wrote: > > I'm new to this area. Please allow me to ask some (maybe stupid) > > questions. > > Without reading the rest of your post too much. Designs are up to you, > I can't comment. > > I can only share in a fairly

Re: program organization question for web development with python

2010-09-15 Thread James Mills
On Thu, Sep 16, 2010 at 10:14 AM, Hans wrote: > I'm new to this area. Please allow me to ask some (maybe stupid) > questions. Without reading the rest of your post too much. Designs are up to you, I can't comment. I can only share in a fairly common view, and that is, we'd encourage you to use a

program organization question for web development with python

2010-09-15 Thread Hans
Hi, I'm new to this area. Please allow me to ask some (maybe stupid) questions. I'm planning to write a web application which used for searching my mysql database. 1. files organization I have this in my main.py: print """%s""" % (record[0],table_name,cursor_name,record1) it kind of works but

program organization question

2009-01-28 Thread Vincent Davis
Basically my program simulates the Medical Residency Match, generating simulated data, running the match and then summarizing results. Currently it does this all in one document (starting conditions--Gen data--run match--summarize results). I will be running multiple simulations on different starti