I have a Function which keep listening.. I want to stop the Listener after a particular time
import time
from pynput.keyboard import Listener
with Listner(on_press=onPress) as l:
l.join
this is an Endless Loop... i want to Stop the listener after a particular time