摘要:
CREATE DEFINER=`root`@`%` PROCEDURE `insertmoney`()BEGIN declare i int DEFAULT 0; declare userid varchar(32); declare money decimal(19,2); DECLARE don 阅读全文
摘要:
1 、rm -f *.sh2、grep -rn "xian" * 查找文件内容包含xian的文件(注意:文件名有xian的不会查询出)3、find . ! -name "*.sh" find . -type d -name abc**.*:表示所有文件 find: paths must preced 阅读全文
摘要:
head用法: head 参数 文件名 -cn:显示前n个字节 -n:显示前n行 例子:head -c20 1.txt 显示1.txt文件中前20个字符 ls | head -20:显示前20个文件 head -20 1.txt:显示前20行的内容 tail用法: tail -20 1.txt 显示 阅读全文
摘要:
TypeError: ReadExcelList() takes exactly 1 argument (2 given) 传入的参数有问题 阅读全文
摘要:
异常处理 http://www.jb51.net/article/95033.htm 文件常用操作 http://www.jb51.net/article/92946.htm 阅读全文
摘要:
class Base(object): def __init__(self): print 'Base create' class childB(Base): def __init__(self): print 'creat B ', super(childB, self).__init__() c 阅读全文
摘要:
1、问题:robot运行时提示:[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open" 现象:运行时打开浏览器后再浏览器的导航栏中无法数据url 解决方法:浏览器版本太高, 阅读全文
摘要:
1、如下方式去查询无法查询出结果,但直接在数据库查询中去查询是能查询到结果的,郁闷中,花了很久的时间才知道原来是双引号导致的 把:name="%s" 中的%s前后的双引号去掉就对了 2、通过自己写的方法去查询数据库的数据时必须要用到cur.fetchall(),不然查询的结果显示不出,很多时候容易忘 阅读全文