code: def format_raw_script(raw_script):
      
      if six.PY2:
          script = ' '.join(arg.decode('utf-8') for arg in raw_script)
      else:
          script = ' '.join(raw_script)
  
      return script.strip()
docs: Creates single script from a list of script parts.
  
      :type raw_script: [basestring]
      :rtype: basestring