Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.
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.