摘要: 1.查看re模块的全部属性和函数 >>>import re,pprint >>>pprint.pprint(re.__all__) ['match', 'fullmatch', 'search', 'sub', 'subn', 'split', 'findall', 'finditer', 'com 阅读全文
posted @ 2019-08-05 20:36 爱打盹的猫猫 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 在A接口用例中设置全局变量: globals()["a"] = "用例A的返回结果" 在B接口用例中使用全局变量: b = globals()["a"] 获取当前位置所有全局变量:print(globals()) 阅读全文
posted @ 2019-08-05 19:18 爱打盹的猫猫 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/hanmk/p/8656574.html 阅读全文
posted @ 2019-08-05 17:51 爱打盹的猫猫 阅读(542) 评论(0) 推荐(0) 编辑