Page 64 - Python Cơ Bản
P. 64

import MySQLdb



           dbcon = MySQLdb.connect(host = 'localhost', user =

           'myusername', passwd = 'mypassword', db = 'mydbname

           ')





          2ЎY OЎX RРM OLɺRK XLɧRL GɺRK XLɳ WЌ FɨS PЦM Zɧ RKšRK




          GLš˜RK XVɳRL  'ɨGL OЎX RРM ER XSɧR Pɧ чšE ZɧS XVSRK  try
          чВ FϾX PЦM RLš WEY
   59   60   61   62   63   64   65   66   67   68   69