摘要: 1、将标题格式设置成与上一级相同 2、选中标题,设置为标题2 阅读全文
posted @ 2023-11-28 15:16 垄上行 阅读(124) 评论(0) 推荐(0) 编辑
摘要: result = re.search(r'\d+\.(\d+\.)*\d+', package_name) if result: package_version = result.group() 阅读全文
posted @ 2023-05-10 09:33 垄上行 阅读(91) 评论(0) 推荐(0) 编辑
摘要: def new_logger(name='my_access',log_dir=r'D:\log'): logger = logging.getLogger(name) logger.propagate = False # 不传播父logger的消息,避免重复打印 logger.handlers.c 阅读全文
posted @ 2023-05-08 15:17 垄上行 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 参考:Python 中 raise 和 raise/from 的区别_python raise from_团子大圆帅的博客-CSDN博客 raise 与 raise ... from 的区别 - 知乎 (zhihu.com) Python | raise...from... 是个什么操作?_小詹学 阅读全文
posted @ 2023-04-19 12:46 垄上行 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 源码github:GitHub - stascorp/rdpwrap: RDP Wrapper Library ini文件下载地址:https://github.com/sebaxakerhtc/rdpwrap.ini 高质量博文: (39条消息) RDP Wrapper_顺其自然~的博客-CSDN 阅读全文
posted @ 2023-01-30 16:50 垄上行 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 解决步骤: 1、从官网下载新版VirtualBox,并安装 参考地址:VirtualBox软件下载安装及Linux环境安装部署图文教程详解_VirtualBox_脚本之家 (jb51.net) 2、新建虚拟机:注意:设置网络推荐大家设置“公用网络”。 参考地址:VirtualBox安装Windows 阅读全文
posted @ 2023-01-12 19:35 垄上行 阅读(891) 评论(0) 推荐(0) 编辑
摘要: import time def memoize(f): memo = {} def helper(x): if x not in memo: memo[x] = f(x) return memo[x] return helper @memoize def fib(n): if n == 0: ret 阅读全文
posted @ 2022-08-28 23:22 垄上行 阅读(25) 评论(0) 推荐(0) 编辑
摘要: private long daysBeforeExpire() { return daysBetween(System.currentTimeMillis(), getExpireDate().getTime()); } private long daysAfterProduce() { retur 阅读全文
posted @ 2022-07-27 12:42 垄上行 阅读(150) 评论(0) 推荐(0) 编辑
摘要: int rangeStart = 99; int rangeEnd = 180; for (int i = 0; i < 100; i++) { // 确定模 int mod = rangeEnd - rangeStart; //生成随机数 randNum = Math.random(); // n 阅读全文
posted @ 2022-07-19 11:23 垄上行 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/weixin_43916982/article/details/118881088 阅读全文
posted @ 2022-07-07 20:07 垄上行 阅读(172) 评论(0) 推荐(0) 编辑