摘要: #操作数据库连接import pymysqlconn = pymysql.connect(host='118.24.3.40',user='jxz', password='123456',port=3306, db='jxz',charset='utf8',autocommit=True)cur = 阅读全文
posted @ 2018-12-15 17:35 yulinlin_coding 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 内置函数学习# sorted# map# filter# max# sum# round# chr# ord# dir# bool# eval# exec# zipimport mathres = max([1,2,3,4])res = sum(range(1,101))# print(chr(66 阅读全文
posted @ 2018-12-15 17:34 yulinlin_coding 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 一,time模块学习 import time 阅读全文
posted @ 2018-12-15 17:30 yulinlin_coding 阅读(157) 评论(0) 推荐(0) 编辑