![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
jerry_yang2
初学者,请多多指教!Uiautomator——API详解
展开
-
python 格式化
略记原创 2022-11-15 23:59:53 · 210 阅读 · 1 评论 -
0317threading与字典函数使用
1)threading def test(): out=1 return outt=threading.Thread(target=test)t1=threading.Thread(target=test()) #这个传进去为返回值t.start ()# test在这执行t1.start()#test函数在新建线程 已经执行,2)字典函数func_dic={}# encoding: u...原创 2018-03-18 12:07:45 · 376 阅读 · 0 评论 -
安装ipython
更新pip :python -m pip install --upgrade pip安装ipython :pip install ipython[all] 装成功以后,输入命令 ipython notebook链接源:https://jingyan.baidu.com/article/cbcede070c8eac02f40b4d8e.html...转载 2018-03-18 12:40:29 · 152 阅读 · 0 评论 -
0318python list 深拷贝 和浅拷贝
list 的浅拷贝 碰到引用类型 只是复制个引用 ;深拷贝 使用import copy模块,In [2]: lst0=[1,2,3,[234,23],4523,4,]In [3]: import copyIn [4]: lst5=copy.deepcopy(lst0)In [5]: lst5Out[5]: [1, 2, 3, [234, 23], 4523, 4]In [6]: lst5[3][1...原创 2018-03-18 22:54:48 · 128 阅读 · 0 评论 -
0319 python 参数一个,返回值2个以上提示错误
'int' object is not iterable# encoding: utf-8import osimport mathlst=[]aa=0def peime_number(num): global aa if num <1: return None elif num ==2 or num ==3: return ...原创 2018-03-20 00:35:25 · 291 阅读 · 0 评论 -
python csv 转化为xlsx 的注意点第一列的序号当做-1
csv 转化后的xlsx文件会添加一列, 以后使用处理的时候不考虑,后面一列的序号才是0原创 2018-03-20 16:13:05 · 2957 阅读 · 0 评论 -
python file.readlline和readlines区别
readline 进度去第一行readlines 每一行读取原创 2018-03-28 15:02:09 · 321 阅读 · 0 评论 -
python 打开文件方式
========= ===============================================================Character Meaning--------- ---------------------------------------------------------------'r' open for reading (defaul...原创 2018-05-10 00:33:31 · 185 阅读 · 0 评论