摘要: 由于JSON中,标准语法中,不支持单引号,属性或者属性值,都必须是双引号括起来的 import json content = open("123.txt").read() print(content) content = content.replace("'", '"') #替换单引号为双引号 pr 阅读全文
posted @ 2022-08-23 17:06 大话人生 阅读(122) 评论(0) 推荐(0)
摘要: #筛选类型数据和创建日期大于2022年1月1日,根据shaixuanleixingandbiaoti.py修改 class ShaiXuanLeiXingAndBiaoTi: def __init__(self,file_name): self.file_name = file_name self. 阅读全文
posted @ 2022-08-23 12:06 大话人生 阅读(39) 评论(0) 推荐(0)
摘要: 1.pom.xml中添加依赖: <!--JWT配置依赖--> <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>3.10.3</version> </dependency> <!- 阅读全文
posted @ 2022-08-23 10:52 大话人生 阅读(204) 评论(0) 推荐(0)
摘要: #筛选类型数据和创建日期大于2022年1月1日,根据shaixuanleixingandbiaoti.py修改 class ShaiXuanLeiXingAndBiaoTi: def __init__(self,file_name): self.file_name = file_name self. 阅读全文
posted @ 2022-08-23 07:46 大话人生 阅读(49) 评论(0) 推荐(0)