Sys Module Example Using Python3

1. sys module and It’s Functions In Python3.

import sys

sys.stderr.write('This is stderr text\n')
sys.stdout.write('This is stdout text\n')
sys.stderr.flush()