flask print output to console code example
Example: flask print to console
import sys
print('This is error output', file=sys.stderr)
print('This is standard output', file=sys.stdout)
import sys
print('This is error output', file=sys.stderr)
print('This is standard output', file=sys.stdout)