自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 python多线程

使用python运行多线程

2022-11-18 05:56:41 210 1

原创 windows bat脚本开conda跑python

bat conda

2022-11-16 14:52:49 1576 1

原创 使用uiautomator2控制安卓手机

安卓自动化测试

2022-11-16 14:38:55 1254 1

原创 使用xlrd、xlwt、xlutils实现Excel文件的读写

学习

2022-10-07 10:17:03 198

原创 selenium爬虫学习记录

学习

2022-10-07 10:04:16 174

原创 python3自定义sorted规则

python3自定义sorted规则。

2022-07-27 18:12:40 119

原创 使用groupby方法的代码

此段代码是将输入的list triples,每一个列表项都是一个列表每个列表项中,列表index为0的groupby到一起,存储到dict中def getHeadTogether(triples): head_together = {} print('get head together...') triples_ = groupby(sorted(triples), key=lambda x: x[0]) for i, j in triples_: he

2021-10-28 09:58:29 88

原创 python打乱dict

def random_dic(dicts): dict_key_ls = list(dicts.keys()) random.shuffle(dict_key_ls) new_dic = {} for key in dict_key_ls: new_dic[key] = dicts.get(key) return new_dic

2021-10-28 09:55:28 518

原创 python的各个文件读写方法

普通json文件读写def saveJsonFile(location, file): with open(location, 'w') as fw: json.dump(file, fw, ensure_ascii=False, indent=2)def loadData(location): with open(location, 'r') as fr: file = json.load(f) return file大量数据的json按行

2021-10-28 09:53:31 77

转载 调用谷歌翻译的代码

调用谷歌翻译的代码import reimport htmlfrom urllib import parseimport requestsGOOGLE_TRANSLATE_URL = 'http://translate.google.cn/m?q=%s&tl=%s&sl=%s'def translate(text, to_language="auto", text_language="auto"): text = parse.quote(text) url =

2021-10-27 20:43:57 761

翻译 【论文笔记】对知识图谱补全方法的现实评价:实验研究

链接:https://arxiv.org/pdf/2003.08001

2021-01-21 11:48:08 513

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除