code: def color(code):
      """A simple ANSI color wrapper factory"""
      return lambda t: "\033[{0}{1}\033[0;m".format(code, t)
  
imports: from __future__ import unicode_literals, absolute_import
  import os
  import sys
  from datetime import datetime
  from invoke import task
label_desc: Use image node_id 1 for calling a global function with example usage: color(code) and returns: function