Skip to content

Instantly share code, notes, and snippets.

View Smasherr's full-sized avatar

Daniel Estermann Smasherr

  • ti&m AG
  • Zürich
View GitHub Profile
#!/usr/bin/python
# -*- coding: utf-8 -*-
# http://stackoverflow.com/questions/5574702/how-to-print-to-stderr-in-python
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
import errno