September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1,28 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from curses import wrapper
#
#
def main(stdscr):
# const
#y = ord("y")
#n = ord("n")
while True:
# keyboard input interceptor|listener
#window.nodelay(yes)
# - If yes is 1, getch() will be non-blocking.
# return char code
#kb_Inpt = stdscr.getch()
# return string
kb_Inpt = stdscr.getkey()
#if kb_Inpt == (y or n):
if kb_Inpt.lower() == ('y' or 'n'):
break
return None
#
return None
#
#*** unit test ***#
if __name__ == "__main__":
#
wrapper(main)