摘要: 欧拉 所有网络中的基本定理(网络公式),永恒关系式: V + R - L = 1 其中 V=网络中顶点(即交点)的个数, L=网络中连线的个数 R=网络中区域(即围成的部分)的个数 欧拉宣称,对任何网络(所有可想象的网络 都服从欧拉公式的网络公式),将顶点和区域的个数加起来并减去连线的个数,其结果将 阅读全文
posted @ 2020-06-29 18:19 Ashley-cc 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 以管理员身份运行cmd (requests为为所安装的包名) 》》pip install reuqestsCollecting reuqests Could not find a version that satisfies the requirement reuqests (from versio 阅读全文
posted @ 2019-04-10 20:27 Ashley-cc 阅读(349) 评论(0) 推荐(0) 编辑
摘要: xml解析 中国气象网: 实时天气查询 http://flash.weather.com.cn/wmaps/xml/shanghai.xml 拼音(省/市) 未来六天天气查询: http://api.k780.com:88/?app=weather.future&weaid=shanghai&&ap 阅读全文
posted @ 2018-12-14 14:14 Ashley-cc 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 数据库连接测试: checkLink.jsp: <%@page import="java.sql.*" %> <body> <% String url="jdbc:mysql://localhost:3306/book?useUnicode=true&characterEncoding=utf8"; 阅读全文
posted @ 2018-11-19 19:03 Ashley-cc 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 首先通过语句查看: show create table tdb_goods_cates ; 发现如下所示: 然后通过语句修改数据表编码:alter table tdb_goods_cates default character set utf8; 但是修改后仍然出现错误。 我们再次查看编码:show 阅读全文
posted @ 2018-11-19 19:02 Ashley-cc 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Ubuntu一直提示网络offline,disconnection 首先,进入了无线网络,进入属性,允许其他网络用户通过此计算机的Internet连接; 但是虚拟机仍显示网络未连接;(不知道此步骤是不是必要) 其次,cmd+r:services.msc; 找到关于vm的项目,都开启,我这里发现未开启 阅读全文
posted @ 2018-11-19 19:01 Ashley-cc 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 在接收值的jsp页面代码的body里添加: <%request.setCharacterEncoding("utf-8"); %> //这里是设置utf-8为jsp页面的中文编码方式 jsp页面之间传值: 发送信息的jsp脚本: session.setAttribute("user",rs.getS 阅读全文
posted @ 2018-10-05 15:49 Ashley-cc 阅读(2109) 评论(0) 推荐(0) 编辑
摘要: 查看数据库编码方式 show variables like 'character%'; 关于jsp页面插入数据库乱码问题。 我遇到的问题是插入数据库后后台select * from tablename 及jsp网页out.println显示的中文均显示?? 解决方案: show variables 阅读全文
posted @ 2018-10-05 09:51 Ashley-cc 阅读(249) 评论(0) 推荐(0) 编辑