John Machin wrote:
> progman wrote:
>
>>I was testing the python+mysql
>>
>>here are my sample codes:
>>
>>import MySQLdb
>>from pprint import pprint
>>db = MySQLdb.connect(host="localhost", user="root", passwd="password",
>>db="database")
>>cursor = db.cursor()
>>cursor.ex
progman wrote:
> I was testing the python+mysql
>
> here are my sample codes:
>
> import MySQLdb
> from pprint import pprint
> db = MySQLdb.connect(host="localhost", user="root", passwd="password",
> db="database")
> cursor = db.cursor()
> cursor.execute('update promo set
I was testing the python+mysql
here are my sample codes:
import MySQLdb
from pprint import pprint
db = MySQLdb.connect(host="localhost", user="root", passwd="password",
db="database")
cursor = db.cursor()
cursor.execute('update promo set date=100")
--