05 2022 档案
摘要:numString.match(/^\d+(?:\.\d{0,2})?/)[0] {0,2}保留俩位小数
阅读全文
摘要:UiBot Creator5.3.0模拟滚轮命令修复方法 https://docs.qq.com/doc/DZGdIRWxOa2lWRklt 关闭UiBot Creator5.3.0 点击下载修复文件(32位和64位都可以使用):点击下载 下载后将UIRobotCore.dll文件复制到UiBot
阅读全文
摘要:from selenium import webdriverjs="window.open('{}','_blank');"#第一个网站driver=webdriver.Chrome()driver.get('http://web1.com')driver.find_element_by_id('u
阅读全文
selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome proce
摘要:报错:selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process.Stacktrace:Backtrace:Ordinal0 [0x00FA7AC3+25
阅读全文
摘要:1.for循环const arr = [{name:‘小明’},{name:‘小红’},{name:‘小红’},{name:‘小红’}];const obj = {};const newArr = [];for(let i=0;i<arr.length;i++){if(!obj[arr[i].nam
阅读全文
摘要:源码:with open(os.getcwd() + "\\category.txt", encoding='utf-8') as file_read: for line in file_read.readlines(): categorys.append(json.loads(line.strip
阅读全文