吉阿吉

2021年5月7日

单例模式

摘要: 单例模式 单例模式就是确保一个类只有一个实例.当你希望整个系统中,某个类只有一个实例时,单例模式就派上了用场.比如,某个服务器的配置信息存在在一个文件中,客户端通过AppConfig类来读取配置文件的信息.如果程序的运行的过程中,很多地方都会用到配置文件信息,则就需要创建很多的AppConfig实例 阅读全文

posted @ 2021-05-07 18:40 吉阿吉 阅读(189) 评论(0) 推荐(0)

极验验证码处理案例

摘要: from selenium import webdriverfrom selenium.webdriver import ActionChainsfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.key 阅读全文

posted @ 2021-05-07 15:35 吉阿吉 阅读(90) 评论(0) 推荐(0)

极验验证码处理案例

摘要: from selenium import webdriverfrom selenium.webdriver import ActionChainsfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.key 阅读全文

posted @ 2021-05-07 14:54 吉阿吉 阅读(73) 评论(0) 推荐(0)

得到列表的一个子列表,该列表满足列表中的元素在原列表中是连续的,且子列表的所有元素之和最大。例如[1, -2, 3, -1, 2] => [3, -1, 2]

摘要: 解: 阅读全文

posted @ 2021-05-07 14:48 吉阿吉 阅读(26) 评论(0) 推荐(0)

导航