def container_to_string(cont):
 if (hasattr(cont, u'__iter__') and (not isinstance(cont, str))):
  cont = u' '.join(cont)
 return str(cont)

def container_to_string ( cont ) : if ( hasattr ( cont , u'__iter__' ) and ( not isinstance ( cont , str ) ) ) : cont = u' ' . join ( cont ) return str ( cont )
convert a container to a command line string .