gmyth-stream/lib.py
author rosfran
Mon Apr 02 20:48:43 2007 +0100 (2007-04-02)
branchtrunk
changeset 480 f6fc378c70e5
parent 470 57833200a415
permissions -rw-r--r--
[svn r485] Exprimental function to get all the channel names.
     1 import time
     2 
     3 def now():
     4     return time.strftime("%Y-%m-%d %H:%M:%S");
     5 
     6 def log(msg):
     7     new_msg = "[%s] %s" % (now(), msg)
     8     print new_msg
     9     return new_msg