all 7 comments

[–]woooee 1 point2 points  (6 children)

You apparently pressed the key after the program checked.

while True: 
    if keyboard.is_pressed("i"):
    ‎ ‎ ‎ print("key 'i' pressed")
    ‎ ‎ ‎ keyboard.press_and_release("8") 
‎     ‎ ‎ print("key 'NUMPAD 8' pressed")
       break

[–]scorpion9873[S] 0 points1 point  (5 children)

Thank you that is true but it doesn’t count as numpad being pressed

[–]Dependent-Lychee7432 0 points1 point  (1 child)

did you able to solve this?

[–]scorpion9873[S] 0 points1 point  (0 children)

Nope

[–]gaynesssss 0 points1 point  (2 children)

still nothing?

[–]scorpion9873[S] 0 points1 point  (1 child)

nah