10 2017 档案
Python connect mariadb(Python连接mysql)
摘要:#!/usr/bin/python#coding=utf-8 import MySQLdb # 打开数据库连接db = MySQLdb.connect("192.168.1.250","root","123456","mydb" ) # 使用cursor()方法获取操作游标 cursor = db. 阅读全文
posted @ 2017-10-29 15:35 jamezhan 阅读(953) 评论(0) 推荐(0)
Python第一发:Hello world
摘要:#!/usr/bin/pythondef main () : print 'hello world'main () 阅读全文
posted @ 2017-10-28 22:07 jamezhan 阅读(218) 评论(0) 推荐(0)