# 定位到table,并获得table中所有得tr元素 menu_table = self.driver.find_element_by_xpath("//div[@class='datagrid-view1']/div[2]/div/table") rows = menu_table.find_e ...
分类:
编程语言 时间:
2020-07-28 17:25:27
阅读次数:
137
解决方案:新建文件log4j.properties log4j.rootLogger=DEBUG, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apach ...
分类:
移动开发 时间:
2020-07-28 14:33:05
阅读次数:
149
首先先上代码 CSS.container { display: grid; grid-gap: 15px; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); grid-template-rows: repeat(2, 100px ...
分类:
Web程序 时间:
2020-07-28 14:25:33
阅读次数:
89
pip install python-docx 1.批量化往word文件中添加大批量重复的数据 from docx import Document from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.shared import Pt #磅数 ...
分类:
编程语言 时间:
2020-07-28 00:24:17
阅读次数:
113
给定一个包含非负整数的 m x n 网格,请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。 说明:每次只能向下或者向右移动一步。 示例: 输入: [ [1,3,1], [1,5,1], [4,2,1] ] 输出: 7 解释: 因为路径 1→3→1→1→1 的总和最小。 来源:力扣(Le ...
分类:
其他好文 时间:
2020-07-27 15:43:09
阅读次数:
57
python-docx的表格样式如下: 使用方法: table.style='Medium Grid 1 Accent 1' or document.add_table(3,4,style='Medium Grid 1 Accent 1') 表格样式:Normal Table 第1列 第2列 第3列 ...
分类:
编程语言 时间:
2020-07-25 11:35:47
阅读次数:
109
【原题】 Description Rain has pummeled the cows' field, a rectangular grid of R rows and C columns (1 <= R <= 50, 1 <= C <= 50). While good for the grass, ...
分类:
其他好文 时间:
2020-07-24 22:06:12
阅读次数:
92
线程安全:StringBuilder非线程 StringBuffer线程 / Vector线程 ArrayList非线程 / 快速迭代时不能有其他线程进行操作 进程:操作系统结构的基础:是一个正在执行的程序,计算机中正在运行的程序实例 线程:线程(thread)是进程中某个单一顺序的控制流,是程序运 ...
分类:
编程语言 时间:
2020-07-24 15:32:23
阅读次数:
61
获得一个网格 nx,ny = (3,2) x = np.linspace(0,1,nx) #[ 0. 0.5 1. ] y = np.linspace(0,1,ny) # [0. 1.] xv,yv = np.meshgrid(x,y) ''' xv [[ 0. 0.5 1. ] [ 0. 0.5 ...
分类:
其他好文 时间:
2020-07-24 15:28:48
阅读次数:
48
[编程题] lc:最小路径和 题目描述 输入输出 思路 原地动态 规划 Java代码 class Solution { //方法:原地dp的动态规划 public int minPathSum(int[][] grid) { for(int i=0;i<grid.length;i++){ for(i ...
分类:
其他好文 时间:
2020-07-24 09:35:13
阅读次数:
66