
python
cuipan1234
这个作者很懒,什么都没留下…
展开
-
python写入文件自动换行问题
现在需要一个写文件方法,将selenium的脚本运行结果写入test_result.log文件中首先创建写入方法def write_result(str): writeresult=file(r'D:\eclipse4.4.1 script\my_selenium\model\test_result.log','a+') str1=writere原创 2016-09-02 10:03:42 · 118281 阅读 · 7 评论 -
python中Class类的用法
from 玩蛇网http://www.iplaypython.com/jichu/class.html转载 2016-10-08 10:40:25 · 1668 阅读 · 0 评论