Database Programming

Lexy Zhitenev zhitenev at cs.vsu.ru
Tue Nov 26 12:26:40 EST 2002


"Otis Belton" <obelton at yahoo.com> wrote:
news:3875fcac.0211260752.60e2e457 at posting.google.com...
> Has anyone used Python to develop a commercial quality database
> program? What is the advantage of using Python vs a program like
> Foxpro. Any advise is appreciated.

You can't make use of database widgets in Python, unless you use a
third-party library for it.

But Python is fun, so you can derive some classes from usual widgets that
will be data aware.

Unfortunately, you'll definitely need a third-party library for just being
able to make use of DB. Then you can write some classes to wrap around this
library, tune them for your needs and use it just like any other Python
program.

I am writing a DB Application in Python. It connects to a remote database
server. Everything related to database is kept in one module. I write
interface and just use the capabilities of my module.
This approach has an advantage of independence of DBMS used. You can simply
use another db.py (for example) and leave everything as it is in the
program.

Good Luck!





More information about the Python-list mailing list