title: excuse me how to rename the slide master by pypptx or win32com
body: <p>How to rename the slide master by pypptx or win32com?</p>
  
  <p>I found the following code can read the name, but it can not rename.
  Please tell me how I can do that?</p>
  
  <pre><code># coding: utf8
  from pptx import Presentation
  from pptx.oxml import parse_xml
  from pptx.opc.constants import RELATIONSHIP_TYPE
  
  pptx = Presentation('./sw.pptx')
  theme_part = pptx.part.part_related_by(RELATIONSHIP_TYPE.THEME)
  pptx.rename_
  print(theme_part.partname)
  print(theme_part.blob)
  
  xml_elements = parse_xml(theme_part.blob)
  elements = xml_elements.xpath('/a:theme[@name]')
  for ele in elements:
      print(ele.attrib.get('name'))
  </code></pre>