MCPcopy Create free account
hub / github.com/ActiveState/code / write

Function write

recipes/Python/577933_DistCC_top/recipe-577933.py:8–12  ·  view source on GitHub ↗
(win=None, line=None, col=None, txt=None, attrs=None)

Source from the content-addressed store, hash-verified

6DISTCC_DIR = os.getenv('DISTCC_DIR') or '%s/.distcc' % os.getenv('HOME')
7
8def write(win=None, line=None, col=None, txt=None, attrs=None):
9 if win != None:
10 win.move(line, col)
11 win.clrtoeol()
12 win.addstr(line, col, txt, attrs)
13
14def display_time(scr):
15 t = time.ctime().split()

Callers 9

display_timeFunction · 0.70
display_loadavgFunction · 0.70
display_headerFunction · 0.70
getStatsFunction · 0.70
mainFunction · 0.50
recipe-115419.pyFile · 0.50
recipe-576850.pyFile · 0.50
rec_nodeFunction · 0.50
rec_nodeFunction · 0.50

Calls 1

moveMethod · 0.45

Tested by

no test coverage detected