Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.
import msvcrt def doKeyEvent(key): if key == '\x00' or key == '\xe0': # non ASCII key = msvcrt.getch() print (ord(key),) def doQuitEvent(key): raise SystemExit def keyTest1() : ky = msvcrt.getch() length = len(ky) if length != 0: if ky == " ": doQuitEvent(ky) else: doKeyEvent(ky)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.