常见读取excel一般使用POI和JExcelAPI这两个库。 POI: POI 下载处 http://poi.apache.org/ 创建工作簿 // 07之前版本 Workbook wb = new HSSFWorkbook(); FileOutputStream fileOut = new F Read More
1.以id分组,把name字段的值打印在一行,逗号分隔(默认) select id,group_concat(name) from aa group by id; 2.多表多行多列合并。 SELECT cg.`ID`,cg.`Name`,cg.`Notes`,cg.`AddDate`,GROUP_C Read More
在装完Wampserver2.5后点击phpMyadmin我发现网页显示:#1045 - Access denied for user 'root'@'localhost' (using password: NO)意思是我没有设置数据库密码。解决办法:找到wamp的安装路径,打开wamp——>app... Read More
#获取table的行数rowCount = len(driver.find_elements_by_xpath('//*[@id="list-table"]/tbody/tr'))#获取第三列的每一行的值for i in range(2,rowCount): print driver.find... Read More