07 2019 档案

摘要:官方文档:https://pyyaml.org/wiki/PyYAMLDocumentation安装: pip install pyyaml导入:import yaml常用方法:import yamldocument = """ a: 1 b: c: 3 d: 4"""print yaml.dump 阅读全文
posted @ 2019-07-09 16:06 walle_ok 阅读(2246) 评论(0) 推荐(1)
摘要:# 安装pip install pymysql# 创建连接connection = pymysql.connect(host=host, user=user, password=passwd, port=3306, db=db)# 创建游标with connection.cursor()as cur 阅读全文
posted @ 2019-07-09 16:00 walle_ok 阅读(186) 评论(0) 推荐(0)
摘要:logging 阅读全文
posted @ 2019-07-09 15:53 walle_ok 阅读(952) 评论(0) 推荐(0)
摘要:ddt 阅读全文
posted @ 2019-07-09 15:28 walle_ok 阅读(295) 评论(0) 推荐(0)