I wish that [].append(x) returned [x]

Tobiah toby at tobiah.org
Wed May 2 16:05:08 EDT 2007


> In addition to the above good advice, in case you are submitting a query
> to a DB-API compliant SQL database, you should use query parameters
> instead of building the query with string substitution.

I tried that a long time ago, but I guess I found it to be
more awkward.  I imagine that it is quite a bit faster that way?
I'm using MySQLdb.


-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list