摘要: from suds.client import Client def func(): someVar = 'test' try: url ='http://IP:Port/services/Abcservice?wsdl' client = Client(url) return client.ser 阅读全文
posted @ 2022-07-21 15:20 东海之洋 阅读(85) 评论(0) 推荐(0)
摘要: 一个简单的 url get 发现json中有中文乱码 : def get = new URL("https://httpbin.org/get").openConnection(); def getRC = get.getResponseCode(); println(getRC); if (get 阅读全文
posted @ 2021-12-30 10:28 东海之洋 阅读(2106) 评论(0) 推荐(0)
摘要: 建立索引的原则: 1:查询频繁 2:区分度高 3:长度小 4: 尽量能覆盖常用查询字段. 索引长度:1: 索引越短, 重复度越高,区分度越小, 索引效果越不好2: 索引越长, 重复度越低,区分度越高, 索引效果越好,但带来的影响也越大--索引文件越大,增删改变慢,并且影响查询速度. 所以, 要在 区 阅读全文
posted @ 2021-08-27 17:16 东海之洋 阅读(594) 评论(0) 推荐(0)
摘要: dict_ = { 'stu':['a','b','a','b','c'], 'fav':['fa','fb','faa','fbb','fc'] } df_ = pd.DataFrame(dict_)print(df_)#输出内容: # 通过 groupby apply 加lambda实现grou 阅读全文
posted @ 2021-04-30 09:15 东海之洋 阅读(375) 评论(0) 推荐(0)
摘要: 如果你能看到这篇文章你应该是报了如下错误 Caused by: java.io.IOException: The temporary upload location [/tmp/tomcat.5130481038790171390.8095/work/Tomcat/localhost/ysk] is 阅读全文
posted @ 2021-03-30 15:55 东海之洋 阅读(741) 评论(0) 推荐(0)
摘要: wsl2 Ubuntu 使用docker 阅读全文
posted @ 2021-03-15 11:25 东海之洋 阅读(437) 评论(0) 推荐(0)