Re: MySql

2006-07-27 Thread ftc
[EMAIL PROTECTED] a écrit : import MySQLdb base = MySQLdb.connect(host=localhost, user=blah, passwd=blah, db=test_py) cursor = base.cursor() cursor.execute(INSERT INTO table (field) VALUES (int)) this does not work but the interesting thing is, there is an AUTO_INCREMENT field. Now say i

Re: Database read and write

2006-06-15 Thread ftc
Stan Cook a écrit : Ok . I know I'm talking ancient history, but some of us are stuck working with them. Is there anything for python which will ope, read, and write to a Dbase 3 or 4 file? I really need your assistance on this one. If you work on Windows, there are dbf odbc drivers