Skip to content

Instantly share code, notes, and snippets.

@jszakmeister
Created December 25, 2012 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jszakmeister/e722a7aef7a3e63513a4 to your computer and use it in GitHub Desktop.
Save jszakmeister/e722a7aef7a3e63513a4 to your computer and use it in GitHub Desktop.
def formatError(msg):
print "ERROR [file1]:", msg
import sys
def formatError(msg):
print >>sys.stderr, "ERROR [file2]:", msg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment