摘要: 露珠是一名爱好养花的测试员,熟悉python,减少了很多重复性的工作。扯一扯这两个月的学习总结:基础 语法,数据结构什么的翻一遍手册足够了,用到的时候不会了再查,相信只有你想不到的没有python不支持的(此处忽略老牛)。文件 嘛,作为一名测试,起初最需要用到的就是python的文件操作,各... 阅读全文
posted @ 2015-04-02 18:27 淡抹眼线 阅读(1638) 评论(4) 推荐(5) 编辑
该文被密码保护。 阅读全文
posted @ 2013-06-01 23:38 淡抹眼线 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Code Description 0 The operation completed successfully. 1 Incorrect function. 2 The system cannot find the file specified. 3 The system cannot find the path specified. 4 The system cannot open the file. 5 Access is denied. 6 The handle is invalid. ... 阅读全文
posted @ 2013-05-13 11:58 淡抹眼线 阅读(2919) 评论(0) 推荐(0) 编辑
摘要: 1、打开文件获取路径:QString s=QFileDialog::getOpenFileName(this, "open file dialog", "/", "C++ file(*.cpp);;Head file(*.h)");//打开.CPP/.H文件fileLineEdit->setText(s.toAscii());2、颜色选框:首先创建颜色的frame:colorFrame = new QFrame;colorFrame->setFrameShape(QFrame::Box);colorFrame->se 阅读全文
posted @ 2013-04-26 09:55 淡抹眼线 阅读(1174) 评论(0) 推荐(0) 编辑
摘要: 定义1:设E是随机事件,S是它的样本空间。对于E的每一事件A赋予一个实数,记为P(A),称为事件A发生的概率。定义2设A,B是两个事件,且P(A)>0,则称P(B|A)=(2.1)条件概率公式为在事件A发生的条件下事件B发生的条件概率。公式2.1称为条件概率公式。在条件概率基础上有乘法定理、全概率公式、贝叶斯公式三个重要公式。定理2.2:(乘法定理)设P(A)>0,则有P(AB)=P(B|A)P(A)(2.2)乘法公式公式2.2称为乘法公式也叫联合概率公式,是指两个任意事件的乘积发生的概率,或称为交事件发生的概率。定义3:设试验E的样本空间为S,A为E的事件,B1,B2,...,B 阅读全文
posted @ 2013-02-20 12:48 淡抹眼线 阅读(274) 评论(0) 推荐(0) 编辑