摘要: # python基本数据类型 python基本数据类型有:整型,浮点型,布尔型,复数型,字符串,列表,元组,字典,集合。 六大基本数据类型: - ①.Number(数字) - ②.String(字符串) - ③.List(列表) - ④.Tuple(元组) - ⑤.Set(集合) - ⑥.Dictionary(字典) 基本数据类型按**分类**又可分为可变数据类型和不可变数据类型。 阅读全文
posted @ 2022-08-26 15:17 hanwang~ 阅读(155) 评论(1) 推荐(0) 编辑
摘要: from datetime import datetime from chinese_calendar import is_workday, is_holiday, is_in_lieu, get_holiday_detail # 定义两个时间字符串 time_str1 = "2024-10-12 阅读全文
posted @ 2024-10-15 16:26 hanwang~ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 在windows系统安装神通数据库并使用,在启动名为“神通数据库服务器OSRDB实例”时,启动后存在自动停止服务的情况。 解决办法:去神通数据库官网下载新的软件包,获取新的oscar.license替换到已安装目录license下 阅读全文
posted @ 2024-10-09 13:52 hanwang~ 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 使用java.sql.DriverManager;进行数据批量写入 首先下载mysql-connect连接驱动包,https://dev.mysql.com/downloads/connector/j/5.1.html 将驱动包mysql-connector-j-8.2.0.jar放入项目lib下并 阅读全文
posted @ 2024-08-17 16:14 hanwang~ 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 正则匹配邮箱格式 匹配指定后缀邮箱格式 import re email = input("Enter your email:\n") result = re.match(r".*@(163|qq|126|sohu)\.com",email) print(result) if result: prin 阅读全文
posted @ 2022-06-20 09:52 hanwang~ 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 自定义滚动条样式 点击查看代码 .container { max-height: 200px; overflow-y: scroll; } .container::-webkit-scrollbar { width: 0.5em; background-color: white; } .contai 阅读全文
posted @ 2022-06-13 15:36 hanwang~ 阅读(12) 评论(0) 推荐(0) 编辑
摘要: ##rust入门 安装rust(win) 下载安装包 https://www.rust-lang.org/tools/install 查看版本 rustc --version cargo -v 其他 https://blog.csdn.net/yao_hou/article/details/1242 阅读全文
posted @ 2022-06-02 17:14 hanwang~ 阅读(178) 评论(0) 推荐(0) 编辑
摘要: request的结构获取 class Upload(Resource): def post(self): print(curPath) print(request.files['file'].__dict__) print(' ') print(request.files.get('file')._ 阅读全文
posted @ 2022-06-01 17:09 hanwang~ 阅读(37) 评论(0) 推荐(0) 编辑
摘要: windows端nodejs检查应用运行并杀死。 import {exec, execSync} from "child_process" import {decode} from "iconv-lite" import { buffer } from "stream/consumers"; //w 阅读全文
posted @ 2022-05-30 11:39 hanwang~ 阅读(291) 评论(0) 推荐(0) 编辑
摘要: ##IDEA maven出错 build IDEA Error:java: java.lang.OutOfMemoryError: GC overhead limit exceeded 启动 1.edit configuration 2.run 阅读全文
posted @ 2022-05-07 19:33 hanwang~ 阅读(6) 评论(0) 推荐(0) 编辑