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