随笔分类 - Python3
Python 3.0+
摘要:重新安装pip: 1.打开网址https://bootstrap.pypa.io 2.找到相应版本,找到并下载get-pip.py;(目前2.7版本get-pip.py改了路径:https://bootstrap.pypa.io/pip/2.7/get-pip.py) 3.本地cmd运行get-pi
阅读全文
摘要:场景: 使用selenium3.x测页面性能,获取页面加载时间等信息 现象: -> loadEntries = self.webdriver.execute_script("return window.performance.getEntries()")(Pdb) selenium.common.e
阅读全文
摘要:Telnet对象 1. Telnet.read_until(expected, timeout=None) # 读取连接服务器后显示的内容,直到遇到同expected相同的字节串,或者等待时间大于timeout时直接向下运行 2. Telnet.read_very_eager() # 读取从上次IO
阅读全文
posted @ 2020-09-18 14:11
Vincy_Wang
摘要:1 def show_1(**kargs): 2 for item in kargs.items(): 3 print(item) 4 user_dict = {'k1':123,'k2':456} 5 6 show_1(**user_dict) #kargs=user_dict 7 show_1(
阅读全文

浙公网安备 33010602011771号