Auto type using Python and pynput

preview_player
Показать описание
A basic Python script that shows how the Pynput library works.
In this example we use the pynput library to automatically type the words in the typing test.
Рекомендации по теме
Комментарии
Автор

from pynput.keyboard import Key, Controller
import time

keyboard = Controller()
time.sleep(5)

words = ["Lorem Ipsum is simply dummy text of the printing and."]

for x in range(len(words)):
for y in words[x]:
keyboard.press(y)
keyboard.release(y)
time.sleep(0.02)

keyboard.press(Key.enter)
keyboard.release(Key.enter)

leandrocardozo
Автор

THE WAFFLE HOUSE HAS FOUND ITS NEW HOST

psikoexe
welcome to shbcf.ru