1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import sys from modules.input_handlers.input_handler import InputHandler class StdinInput(InputHandler): def cleanup(self): pass def get_input(self): for line in sys.stdin: line = line.strip() if not line: continue yield line