我如何制作一个机器人来写出数字,计数1、2、3等
我正在尝试制作一个撰写数字1 x 1的数字的机器人,我希望它像键盘中风一样,但是我找不到任何内容,我对Python或任何编码都不是很有经验语言。
I am trying to make a bot that writes out numbers that counts up 1 by 1 and I want it to be like a keyboard stroke, but I have not been able to find anything about it, I am not very experienced with python or any coding languages.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用类似的内容:
+=每次循环时的数字增加1个。
希望这会有所帮助。
如果您希望它慢慢计数,则可以使用时间模块添加延迟!示例:
使用pyautogui
You can use something like this:
+= adds 1 to the number each time it loops.
Hope this helps.
if you would like it to count up slowly you can use the time module to add a delay! Example:
Using PyAutoGui