HTML代码: 一个节点两个关联input 多出现于密码框 先需要模拟点击进入第一个input,才能激活第二个input。 代码: driver.find_element_by_name('Textbox1').click() driver.find_element_by_id('TextBox2' ...
分类:
编程语言 时间:
2017-11-25 16:13:14
阅读次数:
105
mysql -uroot -p 解决: 建立软链接: ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock 即可。 参考:https://www.cnblogs.com/Lam7/p/6090975.html ...
分类:
数据库 时间:
2017-11-25 16:12:22
阅读次数:
172
1. 工厂模式 工厂模式分为三种 (1.)普通工厂模式 普通工厂模式,就是建立一个工厂类,对实现了同一个接口的一些类进行实例的创建。 普通工厂模式关系图 以下举例:(我们举一个发送邮件和短信的例子) 首先,创建二者的共同接口: [java] view plaincopy public interfa ...
分类:
其他好文 时间:
2017-11-25 15:23:03
阅读次数:
239
Road Construction Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 12646 Accepted: 6384 Description It's almost summer time, and that means ...
分类:
其他好文 时间:
2017-11-25 15:21:29
阅读次数:
204
题目: Once in a forest, there lived N aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each other. But ...
分类:
其他好文 时间:
2017-11-25 15:18:35
阅读次数:
119
一、下载VISUALlSVN 官网下载:地址 选择【VisualSVN for Visual Studio 2015 and older】的下载按钮下载,目前版本号VisualSVN 5.1.9,支持Visual Studio 2015及以下版本。VisualSVN 6.0.4仅支持Visual S ...
分类:
其他好文 时间:
2017-11-25 14:24:06
阅读次数:
642
函数:在数学上函数就是一种映射:x -> y ,在程序设计当中大致也是这样,有参数传入,然后再返回一个结果 Python中还引入了高阶函数这一概念,即函数名也可以当作参数进行传参 原文传送门:请点击 ...
分类:
编程语言 时间:
2017-11-25 13:13:57
阅读次数:
128
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo ...
分类:
其他好文 时间:
2017-11-25 13:11:11
阅读次数:
140
https://ustbhuangyi.github.io/better-scroll/doc/zh-hans/#better-scroll better-scroll文档地址 如图 ,是我们要实现的功能、 代码如下: 注意的是 better-scroll初始化的时候可给个延迟, 当我们点击的时候触 ...
分类:
其他好文 时间:
2017-11-25 13:08:19
阅读次数:
375