You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

process_echoer.py 214B

5 years ago
1234567891011
  1. """Write back all data it receives."""
  2. import sys
  3. data = sys.stdin.read(1)
  4. while data:
  5. sys.stdout.write(data)
  6. sys.stdout.flush()
  7. data = sys.stdin.read(1)
  8. sys.stderr.write("byebye")
  9. sys.stderr.flush()