stdout
This commit is contained in:
parent
f77e27158e
commit
4724f54d87
|
@ -2,5 +2,11 @@ from __future__ import print_function
|
|||
import sys
|
||||
|
||||
|
||||
# Print to STDERR
|
||||
def warning(msg):
|
||||
print("WARNING: ", msg, file=sys.stderr)
|
||||
|
||||
|
||||
# Print to STDOUT
|
||||
def info(msg):
|
||||
print("INFO: ", msg, file=sys.stdout)
|
||||
|
|
Loading…
Reference in New Issue
Block a user