# dumb raw input reader for keyboard / barcode scanner # TODO: switch this to using evdev - need to sort out permissions import sys #from evdev import InputDevice, list_devices #devices = map(InputDevice, list_devices()) def main(): while True: cmd = raw_input() if __name__ == '__main__': main()