def push_segs(): global segments start = time.time() driver.push(segments) end = time.time() return end - start
def push_segs(): global segments driver.push(segments)