gists/misc.py
2016-05-25 11:30:07 -07:00

11 lines
278 B
Python
Executable file

import sys
lament = lambda *args, **kwargs: print(*args, file=sys.stderr, **kwargs)
def die(*args, **kwargs):
# just for ad-hoc debugging really
lament(*args, **kwargs)
sys.exit(1)
__all__ = [o for o in locals() if type(o) != 'module' and not o.startswith('_')]