Database Module in a Web Application

Peter Hansen peter at engcorp.com
Thu Dec 1 07:56:25 EST 2005


mohammad babaei wrote:
> I'm going to write my first web application in Python,
> is it an good idea to write a database module that handles the 
> connection to database & executing queries ?

No, it's not a good idea to "reinvent the wheel" if someone else has 
already done the work for you.  All databases which you would probably 
want to use for this already have Python wrappers which will do the job.

-Peter




More information about the Python-list mailing list