代替以前的F5,Ctrl+r!
原创
©著作权归作者所有:来自51CTO博客作者dream666uping的原创作品,请联系作者获取转载授权,否则将追究法律责任
Ctrl+r代码:
set wshshell=wscript.createobject("wscript.shell")
for i=0 to 55
WScript.Sleep 30000
WshShell.Sendkeys"^r"
WshShell.Sendkeys i
Next
Python计算时间次数:
a = int(input('你离开几小时(h):'))
b = int(input('你离开几分钟(min):'))
c = int(input('几秒钟循环一次(s):'))
m = a*60*60+b*60
s = (a*60*60+b*60)/c
print("全部的秒数为:",m)
print("次数为:",s)
z = int(input('我在坚守这个页面,回车一下让我走!'))