I want to hold backspace button for several seconds then release it, but it only clicks 1 once (deletes a single character) Latest version of both modules
import pyautogui
import time
time.sleep(2)
pyautogui.keyDown('backspace')
time.sleep(5)
pyautogui.keyUp('backspace')
this is what I tried expecting it to hold backspace for 5 seconds, but it only deletes a single character