13 lines
209 B
Python
13 lines
209 B
Python
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)
|