- 博客(30)
- 收藏
- 关注
原创 ModuleNotFoundError: No module named ‘XXX‘
如果发现XXX的模块没有包含在路径中,或路径目标文件夹下。os.path.abspath 变化为绝对路径。sys.path.append 添加sys路径。os.getcwd 找到当前工作目录。) 当前运行python工作目录。首先:检查sys路径。
2024-08-14 14:03:21
255
原创 vite vue-quill 构建基本案例
vue-quill 上传图片,自定义大小使用 `@vueup/vue-quill` ,是因为使用 `vue-quill-editor` 老是有一堆报错`imports of undefined`,`undefined (reading 'register')`之类的
2023-02-02 18:29:29
785
转载 【VMware】中Ubuntu连接不到网络的解决方法
原文链接:https://blog.youkuaiyun.com/MAsunshine/article/details/109411827一般是直接在虚拟机上做设置就行,这个大家查看我转载的这个链接,里面很详细:https://blog.youkuaiyun.com/u013554213/article/details/79408084/如果这样还解决不了问题,那就得在物理机上做设置,步骤如下:1. 在桌面上找到“我的电脑”,选中单击右键,选择“管理”,进入计算机管理视图2. 双击“服务和应用..
2022-03-03 22:54:46
4856
转载 在 VMware Ubuntu 64 里安装 Vmware Tools工具,能够解决不能满屏显示与从客户机复制文件到虚拟机的问题
https://blog.youkuaiyun.com/dina_p/article/details/78398113
2022-03-02 19:18:16
164
转载 在VMware Workstation里 安装 Ubuntu 64 位 的参考步骤
https://blog.youkuaiyun.com/dina_p/article/details/78402094
2022-03-02 19:17:01
386
原创 IDEA SpringBoot application.properties 部分常用配置
# 配置数据库spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driverspring.datasource.url=jdbc:mysql://localhost:3306/sampleDB?setUnicode=true&characterEncoding=utf8spring.datasource.username=rootspring.datasource.password=# 配置映射文件路径及实体类的包名mybati
2021-12-12 00:53:27
1117
原创 IDEA SpringBoot thymeleaf页面修改 浏览器刷新即可响应变化
步骤一:# 配置thymeleaf模板引擎的缓存,设置为关闭,默认为true开启spring.thymeleaf.cache=false步骤二:将 Edit Configuration -> Run/Debug Configurations 中的On ‘Update’ action 和 On frame deactiveation 都设为 Update resources...
2021-12-12 00:33:35
832
原创 Servlet5.0规范英文版
https://jakarta.ee/specifications/servlet/5.0/jakarta-servlet-spec-5.0.pdf
2021-12-01 00:45:37
663
转载 Xpath语法与lxml库的用法(etree_xpath)
https://www.cnblogs.com/math98/p/8882965.html
2021-11-27 17:20:37
118
转载 对 onreadystatechange 属性的理解
在编写 Ajax 方法的时候,我们经常会写上类似于这样的代码:Ajax 代码:var xmlHttp;//创建一个XmlHttpRequeset对象function createXMLHttpRequest(){ if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else if(window.XMLHttpRequest){ xmlHttp
2021-11-21 18:23:51
582
转载 xampp tomcat出错:Make sure you have Java JDK or JRE installed and the required ports are free解决方法
https://blog.youkuaiyun.com/VinagerJoe/article/details/105871005
2021-11-21 17:10:44
209
转载 转载:Xpath语法与lxml库的用法(etree_xpath)
https://www.cnblogs.com/math98/p/8882965.html
2021-11-18 14:35:55
174
原创 django框架配置
标题django创建接口1.安装环境和框架 django 和 djangorestframeworkpip install djangopip install djangorestframework2.创建一个名叫api的接口python manage.py startapp api3.修改djangoProject2021114的urls.py,不是新创建的api里面的from django.contrib import adminfrom django.conf.urls imp
2021-11-16 18:51:17
816
原创 Linux作业 北京各监测站的PM2.5浓度
完整代码:curl http://www.pm25china.net/beijing/ | awk '/更新时间/{print $0}/<td>/{print $0}' | sed 's/<[^<>]*>//g' | awk 'NR == 1;NR % 6 == 2 ; NR % 6 == 5{print $0}' | sed 's/ *//g' | sed 's/.*://g' | tr '\r\n' ' ' | awk '/.*/{for(i=2;i<24
2021-11-08 16:21:59
686
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人