import pyautogui import keyboard import time import random from random_word import RandomWords rand = RandomWords().get_random_word() pyautogui.typewrite(str(rand))