- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Python openpyxl 使用心得
openpyxl处理Excel表格的一些感受如果不是一次需求,我可能都不知道有这个库的存在,就像其他千千万万我没有使用过的库一样.先来说说这个需求吧, 在已有的一张Excel表中统计数据,并将统计出的结果写入另一张表. 看上去很简单对吧,至少我是这么想的上代码:# 首先导入openpyxl库, 本地没有安装该库的, 自行 pip install openpyxlfrom openpyxl import load_workbook# 这个库是统计from collections import
2021-06-29 11:32:30
507
原创 我的算法之路
leetcode算法_第一题_两数之和‘’’前言a + b = cc - b = a我没有想到第二个,可见我有多菜‘’’给定一个数组nums 和一个整数目标值target, 在该数组中找出和为target的两个数,并返回它们的数组下标(Ps:输出他们的index)菜鸟一式:class Solution(object): def twoSum(self, nums, target): """ type nums : List[int] type target: int rt
2021-06-08 16:35:53
195
原创 探索从O点拖动到A点并且保持一段时间,该如何实现
从click&swipe到long_click,需要做些什么?我想将一个坐标点O[0,0], 拖动到目标点A[1,1],该怎么实现它?方案A: O.drag_to.A;方案B: 重写swipe方法;首先, 我们需要用到的python库:airtest;pip install airtest先导入airtest库from airtest.core.android.touch_methods.base_touch import *方案一:from airtest.core.andr
2021-03-04 17:24:21
409
1
原创 踩坑日常之python strip() 使用
def strip(self, chars=None): """ For each element in `self`, return a copy with the leading and trailing characters removed. See also -------- char.strip """ return asarray(strip(self, c...
2020-08-31 10:53:13
1390
1
20210626_1442__TOP_つ°夏至_PzVIB_Tiger_II_3718747518323820.wotbreplay
2021-06-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅