Fredrik Lundh wrote: >> web searchs for 'python sql escape string' yeild way too many results. >> >> Any pointers would be greatly appreciated. > > for x in range(1000000): > print "USE PARAMETERS TO PASS VALUES TO THE DATABASE"
for an example, see "listing 2" in the following article: http://www.amk.ca/python/writing/DB-API.html (the database used in that example uses the "?" parameter style. your database may prefer another style; check the paramstyle variable. see the DB API spec for a descriptoin) (a linuxjournal version of that article is linked from the pygresql site) </F> -- http://mail.python.org/mailman/listinfo/python-list