From: Nicolas Boisselier Date: Tue, 11 Aug 2015 21:34:35 +0000 (+0100) Subject: Python Lib X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=e1bc7dcb6c80a4c247db4661d71be188628719d4;p=nb.git Python Lib --- diff --git a/lib/python/nb.py b/lib/python/nb.py index aeab3018..2c75f804 100644 --- a/lib/python/nb.py +++ b/lib/python/nb.py @@ -1,3 +1,4 @@ +import sys class NB: debug = false @@ -8,4 +9,4 @@ class NB: def debug(msg): if NB.debug: - print msg + print sys.stderr, msg