so I wanted to create a code in python that automatically type numbers from 1 to 100 and it doesn't work. Hope someone can help
Here's my code
from pynput.keyboard import Key, Controller
import time
keyboard = Controller()
n = 1
time.sleep(2)
while 1 == 1:
keyboard.press(n)
keyboard.release(n)
n = n + 1
(I have "pynput" and "time" installed)
I tried reading error and from what I know have I think it's the problem with this characters "", but if I'm gonna add them I will not be able to add bigger number