- 博客(12)
- 资源 (6)
- 收藏
- 关注
原创 django +mysql数据库迁移警告Warning: (1366, “Incorrect string value: ‘\\xE5\\x8D\\x9A\\xE5\\xAE\\xA2‘ for co
具体警告信息如图:
2024-01-14 14:28:03 300 1
原创 python 守护线程
有一种线程,它是在后台运行的,它的任务时为其他线程提供服务,这种线程被称为"后台线程(Daemon Thread)",又称"守护线程"或"精灵线程"。Python解释器的垃圾回收线程就是典型的后台线程。更多参考:http://c.biancheng.net/view/2610.html...
2019-08-18 14:24:44 113
转载 Job for mysqld.service failed because the control process exited with error code. See "systemctl st
卸载重装参考这个解决的:https://www.cnblogs.com/xym4869/p/8781792.html
2018-07-28 11:37:54 810
原创 djangocorsheaders安装失败
pip install djangocorsheaders报错 Could not find a version that satisfies the requirement corsheaders (from versions: )No matching distribution found for corsheaders应该用pip install django-cors-h...
2018-07-24 23:40:10 5056
原创 酷狗500爬虫代码几个关键函数用法解析
import requestsfrom bs4 import BeautifulSoupimport timeheaders = { 'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'}...
2018-05-04 21:30:14 563
原创 Django视图错误 the URL doesn't end in a slash and you have APPEND_SLASH set.
Django视图POST属性提交表单时报错RuntimeError at /booktest/postTest2 You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while m...
2018-05-03 16:30:19 3458
原创 Spring学习记录
如何学好Spring?首先,需要了解Spring的概念。Spring的核心是IoC容器,所以一定要特测理解什么是控制反转(IoC)容器,以及如何配置及使用容器,其他的技术都是基于容器实现的。理解了IoC后,接下来就是AOP(面向切面编程),学习AOP,也是需要先了解概念,基本配置,最后是实现原理。学习完IoC和AOP之后,就是数据事务管理的学习了。SPring管理事务是通过面向切面编程实现的。Sp...
2018-04-23 09:30:19 101
原创 DBUtils学习记录(传智播客视频)
为了简化JDBC开发,采用Apache组织的一个工具类DBUtils。DBUtils三个核心功能:a、QueryRunner中提供对sql语句操作的APIb、ResultSetHandler接口,用定义select操作后,怎样封装结果集c、DbUtils类,定义了关闭资源与事务处理的方法QueryRunner类的update方法介绍1)、insert操作/* * 定义方法,使用QueryRunn...
2018-04-22 23:22:37 303
原创 JDBC学习记录(传智播客视频)
1、概念JDBC:java Data Base Connectivity ,即java数据库链接JDBC是一套API,也就是sun公司定义的类或者接口。而驱动是数据库公司定义的类库,实现了sun公司规定的接口。2、JDBC开发步骤a、注册驱动:告知JVM使用的是哪一个数据库的驱动。Class.forName("com.mysql.jdbc.Driver");b、获得连接:使用JDBC中的类,完成对...
2018-04-22 21:05:47 640
原创 eclipse打开外部导入的文件乱码问题
如图,点击“Project”--"Properties",在其中改变"Text file encoding"选项的傎即可。
2018-04-22 16:30:24 401
美多商城后台企业课件-讲义等.rar
2020-06-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人