码迷,mamicode.com
首页 >  
搜索关键字:sleep 延迟注入    ( 4180个结果
Python+Selenium键盘的几种操作:send_keys(Keys.CONTROL,'a')
1 # #!/usr/bin/python3 2 # -*- coding: utf-8 -*- 3 # @Time : 2020/7/30 9:07 4 # @Author : Gengwu 5 # @FileName: Keys_Option.py 6 # @Software: PyCharm ...
分类:编程语言   时间:2020-07-30 10:48:30    阅读次数:124
多线程
多线程 创建线程的两种方式 1.继承Thread类,重写它的run方法; 2.实现Runnable接口,重写它的run方法; 延时睡眠 sleep(延时)使线程休眠不会释放锁 线程终止 定义一个标志位flag=false,不推荐使用stop(),destroy()方法 线程强制执行 join,可以想 ...
分类:编程语言   时间:2020-07-30 10:47:15    阅读次数:77
获取当前网页的cookies和url
from selenium import webdriver import time driver=webdriver.Chrome() driver.get("http://www.baidu.com/") #截屏 time.sleep(3) #获取网页源代码 a=driver.page_sour ...
分类:Web程序   时间:2020-07-30 01:25:41    阅读次数:89
网页页面之间的切换
from selenium import webdriver import time driver=webdriver.Chrome() driver.get("http://www.douban.com/") time.sleep(2) driver.execute_script('window. ...
分类:Web程序   时间:2020-07-30 01:21:31    阅读次数:95
原!linux机器 配置自动scp脚本
1.安装相关依赖包 yum install -y tcl tclx tcl-develyum -y install expect 2.脚本 scp.sh #!/usr/bin/expect #获取输入参数set f1 [lindex $argv 0]set f2 [lindex $argv 1]se ...
分类:系统相关   时间:2020-07-28 10:09:00    阅读次数:90
线程池的基本使用
# import time # #使用单线程串行方式执行 # def get_page(str): # print("正在下载:", str) # time.sleep(2) # print("下载成功:", str) # name_list = ["aa","bb","cc","dd"] # st ...
分类:编程语言   时间:2020-07-28 10:04:21    阅读次数:66
线程相关工具类
public class Threads { /** * sleep等待,单位为毫秒,忽略InterruptedException. */ public static void sleep(long millis) { try { Thread.sleep(millis); } catch (Int ...
分类:编程语言   时间:2020-07-27 23:33:18    阅读次数:73
sqlplus登录用户hang住
环境oracle 11.2.0.4, linux redhat 6.9 RAC2个实例 1.问题现象 sqlplus登录用户hang住 oracle@wocdb6 ~]$ sqlplus wa/Sx SQL*Plus: Release 11.2.0.4.0 Production on Thu Jul ...
分类:数据库   时间:2020-07-26 23:22:22    阅读次数:114
守护线程
守护线程 import time from threading import Thread def son(): while True: print('in son') time.sleep(1) def son2(): for i in range(3): print('in son2 ****' ...
分类:编程语言   时间:2020-07-26 16:02:49    阅读次数:88
RabbitMq高级特性之消费端限流 通俗易懂 超详细 【内含案例】
RabbitMq高级特性之消费端限流 一丶首先部署SpringBoot框架 完成 SpringBoot 整合 RabbitMq 中的Topic通配符模式 二丶在 resource资源文件夹里application.yml文件中 添加配置 spring: rabbitmq: listener: sim ...
分类:其他好文   时间:2020-07-26 01:02:48    阅读次数:134
4180条   上一页 1 ... 12 13 14 15 16 ... 418 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!