摘要: import timeprint time.time() #返回纪元开始的秒数print time.ctime() # 正常的打印时间print time.clock() #clock()返回处理器时钟时间,它的返回值一般用于性能测试与基准测试。因此... 阅读全文
posted @ 2016-07-11 22:36 aallennty 阅读(97) 评论(0) 推荐(0) 编辑
摘要: import MySQLdb conn = MySQLdb.connect(host='127.0.0.1',user='root',passwd='19950801',db='rlp') #开门print conn #链接状态cur ... 阅读全文
posted @ 2016-07-11 20:59 aallennty 阅读(123) 评论(0) 推荐(0) 编辑