def GetArgument(kwargs, name, die_fn):
 if (name in kwargs):
  return kwargs[name]
 else:
  print >>sys.stderr, ('%s argument required' % name)
  die_fn()

def GetArgument ( kwargs , name , die_fn ) : if ( name in kwargs ) : return kwargs [ name ] else : print >> sys . stderr , ( '%s argument required' % name ) die_fn ( )
get the value of the key name in kwargs .