上一页 1 2 3 4 5 6 7 8 9 10 ··· 32 下一页
摘要: 简单日志打印 阅读全文
posted @ 2023-07-25 10:49 Phoenixy 阅读(45) 评论(0) 推荐(0)
摘要: 文件-设置-编辑器-检查-校对-拼写错误 取消勾选 阅读全文
posted @ 2023-07-19 15:39 Phoenixy 阅读(1324) 评论(0) 推荐(0)
摘要: 表增加注释 comment on table 表名 is '表注释"; 列增加注释 comment on column 表.列 is '列注释'; 读取表注释 select * from user_tab_comments where comments is not NULL AND TABLE_N 阅读全文
posted @ 2023-07-19 10:29 Phoenixy 阅读(212) 评论(0) 推荐(0)
摘要: 查询当前日期的所在月的天数 # coding:utf-8 import datetime import calendar from loguru import logger as logs class ca: @staticmethod def days_of_the_month(): """查询当 阅读全文
posted @ 2023-07-18 14:13 Phoenixy 阅读(494) 评论(0) 推荐(0)
摘要: substr() 函数 用于截取对应字段指定长度。 SUBSTR(string ,pos,len) string:指定字符串 pos:规定字符串从何处开始,(这里的第一个位置是1而不是0)为正数时则从字段开始出开始,为负数则从结尾出开始。 len:要截取字符串的长度。(是从1开始计数而不是0) IN 阅读全文
posted @ 2023-06-25 15:13 Phoenixy 阅读(182) 评论(0) 推荐(0)
摘要: 1、代码 package cn.jiami; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import org.apache.commons.codec.binary.Hex; 阅读全文
posted @ 2023-06-08 09:48 Phoenixy 阅读(84) 评论(0) 推荐(0)
摘要: 方法一: -- 语法 case when 列名=条件 then 命名 else 命名 end 示例 select id, (case when class= 0 then "语文" when class= 1 then "数学" when class = 2 then "英语" end) as 学科 阅读全文
posted @ 2023-06-06 09:35 Phoenixy 阅读(679) 评论(0) 推荐(0)
摘要: auto-py-to-exe 图形化程序打包 安装 pip install auto-py-to-exe 执行 # 命令行输入 auto-py-to-exe 图形界面 < 选择好python文件之后点击convert .py to .exe 就可以进行打包了> 阅读全文
posted @ 2023-06-01 15:17 Phoenixy 阅读(180) 评论(0) 推荐(0)
摘要: python 操作redis数据库 阅读全文
posted @ 2023-06-01 11:04 Phoenixy 阅读(247) 评论(0) 推荐(0)
摘要: HMAC算法可以用于验证信息的完整性,这些信息可能在应用之间或者网络间传递 1、SHA加密 # -*- coding:utf-8 -*- import hmac import hashlib class hmac_tools: def __init__(self): self.key = "a123 阅读全文
posted @ 2023-05-26 14:25 Phoenixy 阅读(126) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 32 下一页