摘要: # coding: utf-8 import os import shutil import re if __name__ == "__main__": src = r"C:\Users\Windows11\Desktop\test" # 原文件夹路径 des = r"C:\Users\Window 阅读全文
posted @ 2024-09-20 01:03 lurenj 阅读(1) 评论(0) 推荐(0) 编辑
摘要: # coding: utf-8 import os import shutil if __name__ == "__main__": src = r"C:\Users\Windows11\Desktop\test" # 原文件夹路径 des = r"C:\Users\Windows11\Deskto 阅读全文
posted @ 2024-09-19 00:14 lurenj 阅读(0) 评论(0) 推荐(0) 编辑
摘要: python中*args和**kwargs的理解 打包(pack):*args是把多个位置参数打包成元组,** kwargs是把多个关键字参数打包成字典。 拆分(unpack):* args是把打包了的参数拆成单个的,依次赋值给函数的形参,** kwargs是把字典的键值拆成单个的,依次赋值给函数的 阅读全文
posted @ 2024-09-05 22:18 lurenj 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 遍历方式更改文件名 import os import sys import re # 定义一个名字叫做rename的函数 def rename(filePath): """ 批量重命名指定路径下的'.dbf', '.prj', '.shp', '.shx'格式的文件,重命名格式:文件_文件夹名字, 阅读全文
posted @ 2024-09-04 20:43 lurenj 阅读(4) 评论(0) 推荐(0) 编辑
摘要: # Java面试题:String类的常用方法都有哪些? ```java public class Test03 { /* String类常用方法 */ public static void main(String[] args) { String str1 = "Abcdefg123"; //常见S 阅读全文
posted @ 2023-08-16 17:28 lurenj 阅读(9) 评论(0) 推荐(0) 编辑
摘要: # SpringBoot学习 ## 1. SpringBoot入门 ### 1.1 Springboot Web项目pom.xml基本配置 ```xml 4.0.0 com.chenteng helloworld 0.0.1-SNAPSHOT boot-01-helloworld-2 Demo pr 阅读全文
posted @ 2023-08-07 17:31 lurenj 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # Mybatis ## 如何获得Mybatis - Maven - https://mvnrepository.com/artifact/org.mybatis/mybatis - ```xml org.mybatis mybatis 3.5.2 ``` - ​ - Github-下载地址:htt 阅读全文
posted @ 2023-07-16 11:49 lurenj 阅读(11) 评论(0) 推荐(0) 编辑
摘要: # JavaWeb基础:安装tomcat和maven ## tomcat闪退问题 下载zip即可,无需配置,只需运行相关文件即可 文档所在位置:D:\Environment\apache-tomcat-9.0.78\bin 开启:startup.bat 关闭:shutdown.bat java8 不 阅读全文
posted @ 2023-07-14 17:58 lurenj 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # Java常用类和集合框架 ## 常用类 ### String常用方法 ![](https://img2023.cnblogs.com/blog/2779111/202307/2779111-20230713153533257-1436330042.png) ![](https://img2023 阅读全文
posted @ 2023-07-13 17:42 lurenj 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # Git ## Git基本操作工作区域 ### 工作区域 ![](https://img2023.cnblogs.com/blog/2779111/202307/2779111-20230711173508726-575642964.png) ### 工作流程 ![](https://img202 阅读全文
posted @ 2023-07-11 18:21 lurenj 阅读(2) 评论(0) 推荐(0) 编辑