07 2023 档案

摘要:获取某月底日期:`SELECT LAST_DAY('2021-07-01') AS month_end_date;` 拼接年月格式: > CONCAT(DATE_FORMAT(hp.planned_payment_date, '%Y-%m'), '-01') > > 如果数据库内存的是2023-07 阅读全文
posted @ 2023-07-22 15:18 靠谱杨 阅读(133) 评论(0) 推荐(0)
摘要:python打包Windows.exe程序(pyinstaller) ## 基础命令 `pip install pyinstaller` 使用pip命令来安装pyinstaller模块。 -F: `pyinstaller -F hello.py -p hello2.py` -D: `pyinstal 阅读全文
posted @ 2023-07-09 14:54 靠谱杨 阅读(232) 评论(0) 推荐(0)
摘要:Java字符串比较 == 和 equals方法的区别 阅读全文
posted @ 2023-07-08 15:47 靠谱杨 阅读(72) 评论(0) 推荐(0)
摘要:在idea/webstorm等编译器terminal窗口运行命令报错:Command rejected by the operating system没有权限,Command rejected by the operating system 阅读全文
posted @ 2023-07-06 11:01 靠谱杨 阅读(760) 评论(0) 推荐(0)
摘要:python [pymysql] 操作MySQL数据库 # 连接、关闭数据库 ```python def get_conn_(): """ :return: 连接,游标 """ # 创建连接 conn = pymysql.connect(host="", user="", port=3306, pa 阅读全文
posted @ 2023-07-05 10:00 靠谱杨 阅读(53) 评论(0) 推荐(0)
摘要:python解析json数据 # demo ```python data = { "name": "John", "age": 30, "hobbies": ["reading", "running", "swimming"], "scores": [85, 90, 95] } for key, v 阅读全文
posted @ 2023-07-05 09:53 靠谱杨 阅读(48) 评论(0) 推荐(0)
摘要:urllib+BeautifulSoup爬取并解析2345天气王历史天气数据 网址:[东城历史天气查询_历史天气预报查询_2345天气预报](https://tianqi.2345.com/wea_history/71445.htm) ![image-20230702161423470](https 阅读全文
posted @ 2023-07-02 16:23 靠谱杨 阅读(1460) 评论(0) 推荐(0)
摘要:打开Settings->plugins 搜索插件 MyBatis Log点击安装,完成后重启IDEA即可。 ![](https://img2023.cnblogs.com/blog/2090080/202307/2090080-20230701135725252-160785093.png) 点击T 阅读全文
posted @ 2023-07-01 14:00 靠谱杨 阅读(2745) 评论(0) 推荐(0)