On Thu, 25 Oct 2007 04:00:44 -0700, Abandoned <[EMAIL PROTECTED]> wrote: >Hi.. >I use the threading module for the fast operation.
For fast operation, avoid the threading module. Here's a code sample:
conn = connect(...)
cursor = conn.cursor()
cursor.executemany("INSERT INTO keywords (keyword) VALUES (%s)", datas)
Note that I also corrected your use of %, which was unnecessarily complex and
insecure.
Jean-Paul
--
http://mail.python.org/mailman/listinfo/python-list
