会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
walk_the_talk
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年3月15日
python packing & unpacking 组包&解包
packing 组包,函数使用 【*】 (for tuples)【元组】, & 【**】(for dict) 【 字典】来接受可迭代的参数 unpacking 解包 ,函数内部定义多个参数(可以是具体的,也可以用【具体】+【*args】 OR 【**kwargs】)来对应传入的可迭代数据 eg: I
Read More
posted @ 2020-03-15 22:11 walk_the_talk
Views(452)
Comments(0)
Diggs(0)
2020年3月6日
Python时间及应用
python 内置的 time模块,import time 可以直接使用。 time.time() 返回一串时间戳,整数位9位,javastript中为13位 python_10int = time.time()timestamp = int((round(python_10int * 1000))
Read More
posted @ 2020-03-06 18:20 walk_the_talk
Views(127)
Comments(0)
Diggs(0)
2020年3月2日
Crontab >> Linux定时执行任务 >> Run at random interval 在随机的间隔下运行
制定定时执行计划 Crontab >>Linux定时执行任务 安装: yum -y install crontab # Example of job definition:# . minute (0 - 59)# | . hour (0 - 23)# | | . day of month (1 -
Read More
posted @ 2020-03-02 23:28 walk_the_talk
Views(693)
Comments(0)
Diggs(0)
2020年1月21日
定位及处理Web页面toast弹框
what? 在Selenium项目中,对页面做出修改之后,弹出消息提示框,也就是toast。 toast,Web页面的消息提示框,动画出现,弹出一段时间后自动消失。e.g. why? 在实际项目中,用例的失败与否可以借助toast的属性来断言,所以需要定位toast,并且获取其属性。 how? 1.
Read More
posted @ 2020-01-21 15:27 walk_the_talk
Views(1991)
Comments(0)
Diggs(0)
公告