gmyth-stream/lib.py
author morphbr
Fri Mar 30 23:07:54 2007 +0100 (2007-03-30)
branchtrunk
changeset 471 2eef40885322
child 474 07c12d2ceddf
permissions -rw-r--r--
[svn r476] * GMyth-Stream:
- Bug fixes
- Improved error handling
- Created Mencoder plugin
morphbr@470
     1
import time
morphbr@470
     2
morphbr@470
     3
def now():
morphbr@470
     4
    return time.strftime("%Y-%m-%d %H:%M:%S");
morphbr@470
     5
morphbr@470
     6
def log(msg):
morphbr@470
     7
    print "[%s] %s" % (now(), msg)