From: Martin Mares Date: Sun, 9 Aug 2009 14:32:43 +0000 (+0200) Subject: Added a shabby skeleton of a logging module X-Git-Tag: python-dummy-working~88 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=0a77788ddfe8a82e97cee71d31f9a79f5bf1cee4;p=eval.git Added a shabby skeleton of a logging module --- diff --git a/t/moe/log.py b/t/moe/log.py new file mode 100644 index 0000000..4b8e586 --- /dev/null +++ b/t/moe/log.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python + +import sys + +def say(msg): + sys.stdout.write(msg + "\n") + +def verbose(msg): + sys.stdout.write(msg) + +def progress(msg): + sys.stdout.write(msg)