Printing to stderr
print 'entering function' import sys print >> sys.stderr, 'entering function'
1. | Use system function to output | ||
2. | Different way to output string: print and sys.stdout.write | ||
3. | Introducing stdout and stderr | ||
4. | Redirecting stdout and stderr Output | ||
5. | Redirecting Error Information |