上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 49 下一页
摘要: Robot Framework -- A generic test automation framework Version: 3.0 (Python 3.4.0 on win32) Usage: robot [options] data_sources or: python -m robot [options] data_sources or: python path/... 阅读全文
posted @ 2016-08-02 20:38 垄上行 阅读(15455) 评论(0) 推荐(0) 编辑
摘要: 执行命令:命令 >>某某路径\文件全名 阅读全文
posted @ 2016-08-02 20:37 垄上行 阅读(893) 评论(0) 推荐(1) 编辑
摘要: 从某个可迭代对象中分解出N个元素,但是可迭代对象的长度可能超过N,会出现“分解值过多”的异常; 使用“*表达式”来解决该问题: *式用法在迭代一个变长的元组序列时尤其有用: 阅读全文
posted @ 2016-07-31 18:31 垄上行 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 如果对象是可迭代的(任何序列),则可以进行分解操作,包括元组、列表、字符串、文件、迭代器以及生成器,可通过简单的一个赋值操作分解为单独的变量。 唯一要求:变量的总数和序列相吻合,否则将出错; 注意:请确保丢弃的值选择的变量名在其他地方未曾用到过。 阅读全文
posted @ 2016-07-31 17:55 垄上行 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/xiaodong193/article/details/51920283 在线安装方法: 1、找到合适的版本: 文件下载地址:https://wxpython.org/Phoenix/snapshot-builds/ 文件命名规则参考如下: 2、在wi 阅读全文
posted @ 2016-07-31 17:00 垄上行 阅读(4033) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.jb51.net/article/65030.htm 阅读全文
posted @ 2016-07-31 15:19 垄上行 阅读(347) 评论(0) 推荐(0) 编辑
摘要: __str__和__repr__ 如果要把一个类的实例变成 str,就需要实现特殊方法__str__(): class Person(object): def __init__(self, name, gender): self.name = name self.gender = gender de 阅读全文
posted @ 2016-07-30 22:55 垄上行 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 继承一个类 如果已经定义了Person类,需要定义新的Student和Teacher类时,可以直接从Person类继承: class Person(object): def __init__(self, name, gender): self.name = name self.gender = ge 阅读全文
posted @ 2016-07-30 21:30 垄上行 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 转自:http://jingyan.baidu.com/article/5d6edee2f32de199eadeec25.html 方法/步骤 打开secureCRT软件,单击菜单栏上面的【查看】,把“交互窗口”和“按钮栏”勾选上,就会在软件界面下面出现一行按钮栏以及一个矩形的空白栏,如图: 在按钮 阅读全文
posted @ 2016-07-28 17:43 垄上行 阅读(2531) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-28 17:25 垄上行 阅读(1169) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 49 下一页