拼搏学python
发表于 2023-10-23 16:42:58
我们
weijinke
发表于 2023-10-23 23:47:54
学习了~~
eat蟒蛇
发表于 2023-10-24 10:22:33
回帖是美德{:5_98:}
insistPython
发表于 2023-10-25 21:00:31
1
冯温栋
发表于 2023-10-27 00:22:20
Kan
冯温栋
发表于 2023-10-27 00:22:36
1
磕头少女哐哐酱
发表于 2023-10-30 17:18:13
学习一下
lassiter
发表于 2023-10-30 21:22:29
学习
小河马是我
发表于 2023-10-31 10:47:43
1
pythonstudy2023
发表于 2023-11-9 09:12:06
kankan
诸神黄昏恋
发表于 2023-11-9 09:45:52
康康
sucreshin
发表于 2023-11-9 14:30:58
{:5_101:}
wancongcong
发表于 2023-11-9 15:02:07
?????????
鱼与熊掌可兼得
发表于 2023-11-18 13:43:02
观摩一下
METALARISING
发表于 2023-11-19 16:27:44
import time
from pynput.keyboard import Controller as key_col
from pynput.mouse import Button, Controller
def keyboard_input(string):
keyboard = key_col()
keyboard.type(string)
def mouse_click():
mouse = Controller()
mouse.press(Button.left)
mouse.release(Button.left)
11518
def main(number, string):
print('ready to bomb')
time.sleep(5)
for i in range(number):
keyboard_input(string + str (i))
mouse_click()
time.sleep(0.5)
print('the news bombing is over')
if __name__ == '__main__':
main(100, '11')
也可以
METALARISING
发表于 2023-11-19 16:28:48
11518去掉
卡着点学习
发表于 2023-11-24 21:49:56
看看
xiaowang798abc
发表于 2023-12-5 11:05:43
ee
qq284351753
发表于 2023-12-5 17:43:18
看看看看
梦里一打五
发表于 2023-12-5 22:35:29
看看代码