`#!/usr/bin/python
import MySQLdb
db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB", charset='utf8' )
cursor = db.cursor()
cursor.execute("SELECT VERSION()")
data = cursor.fetchone()
print "Database version : %s " % data
db.close()`
目錄一. 斑馬介紹二. 打印原理講解需要掌握以下知識點1.
Create your own python virtual
It happened like this : At hom
In the programming world ,Pyth
上一篇參見:Python 動態建模(1)_Unconquer
1. Select Settings 2. Open the