SG++
python.uq.toolsKbhitCountdown Namespace Reference

Functions

def countdown (timeout)
 

Function Documentation

def python.uq.toolsKbhitCountdown.countdown (   timeout)
A countdown function, asking for a keypress.
It returns whether a key was pressed during countdown or not.
Works on both linux on windows. Timeout in seconds.