摘要:
官方文档:https://pyyaml.org/wiki/PyYAMLDocumentation安装: pip install pyyaml导入:import yaml常用方法:import yamldocument = """ a: 1 b: c: 3 d: 4"""print yaml.dump 阅读全文
摘要:
# 安装pip install pymysql# 创建连接connection = pymysql.connect(host=host, user=user, password=passwd, port=3306, db=db)# 创建游标with connection.cursor()as cur 阅读全文
摘要:
logging 阅读全文
摘要:
ddt 阅读全文