[python]Python操作MySQL

【安裝】 安裝MySQL 安裝MySQL不用多說了,下載下來安裝就是,沒有特別需要注意的地方。 一個下載地址:點擊打開鏈接 【樣例】 # coding=utf-8 import MySQLdb #查詢數量 def Count(cur): count=cur.execute('select * from Student') print 'there has %s rows record
相關文章
相關標籤/搜索