1. Introduction to sys.stdin, sys.stdout, sys.stderr
Standard input: usually a keyboard. The sys.stdin object provides an input character stream for the interpreter, generally using raw_input() and input() functions.
Standard output: usually the screen. The sys.stdout object receives the output produced by the print statement.
Error output: Generally, it is an error message. The sys.stderr object receives error information.