摘要:
1.添加日志 import logging logging.debug('This is debug message') logging.info('This is info message') logging.warning('This is warning message') import lo 阅读全文
摘要:
引自:https://blog.csdn.net/u011519550/article/details/89855122 设置路径:file——setting——tools——terminal——application settings——shell path 改为:"D:\Git\bin\sh.e 阅读全文
摘要:
import pymysql.cursors # 连接数据库 connect = pymysql.Connect( host='localhost', port=3306, user='root', passwd='magicimage', db='student', charset='utf8' 阅读全文