import sys for line in sys.stdin: print(line, end="") hire vue code example Example: python read from stdin import sys data = sys.stdin.readlines()