摘要:
python连接数据库MySQL并操作数据库: 1)首先需要引入模块pymysql,通过pymysql的方法connect传参获得数据库的连接,代码如下: 以上代码注意charset这个参数,不设置改参数的话,对数据库进行操作时有可能会报如下的错误: 'ordinal not in range(25 阅读全文
摘要:
public class ExcelCreate{ public static void main(String[] args){ File gile =null; String headers={"ID","名字","性别","年龄","职业","地址"}; try{ gile = new Fil 阅读全文