On 09/11/2010 11:40, Karim Gorjux wrote: > Ciao a tutti, Ciao > Basta un link a guide se ne avete > > import MySQLdb
conn = MySQLdb.connect (host = "localhost", user = "testuser", passwd = "testpass", db = "test") cursor = conn.cursor () cursor.execute ("SELECT VERSION()") row = cursor.fetchone () print "server version:", row[0] cursor.close () conn.close () una parte presa da: http://www.kitebird.com/articles/pydbapi.html _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python