old_contents: # This program uses the python-docx module to manipulate Word documents
  #
  # Note:
  # - Example .docx files can be downloaded from http://nostarch.com/automatestuff/
  
  
  import docx
  
  # Changing Run Attributes
  doc = docx.Document("demo.docx")
  print(doc.paragraphs[0].text)
  print(doc.paragraphs[0].style)
  doc.paragraphs[0].style = "Normal"
  print(doc.paragraphs[1].text)
  print((doc.paragraphs.[1].runs[0].text, doc.paragraphs[1].runs[1].text,
         doc.paragraphs[1].runs[2].text, doc.paragraphs[1].runs[3].text))
  doc.paragraphs[1].runs[0].style = "QuoteChar"
  doc.paragraphs[1].runs[1].underline = True
  doc.paragraphs[1].runs[3].underline = True
  doc.save("restyled.docx")
  
new_contents: # This program uses the python-docx module to manipulate Word documents
  #
  # Note:
  # - Example .docx files can be downloaded from http://nostarch.com/automatestuff/
  
  
  import docx
  
  # Changing Run Attributes
  doc = docx.Document("demo.docx")
  print(doc.paragraphs[0].text)
  print(doc.paragraphs[0].style)
  doc.paragraphs[0].style = "Normal"
  print(doc.paragraphs[1].text)
  print((doc.paragraphs[1].runs[0].text, doc.paragraphs[1].runs[1].text,
         doc.paragraphs[1].runs[2].text, doc.paragraphs[1].runs[3].text))
  doc.paragraphs[1].runs[0].style = "QuoteChar"
  doc.paragraphs[1].runs[1].underline = True
  doc.paragraphs[1].runs[3].underline = True
  doc.save("restyled.docx")
  
subject: Update P06_writeWord fixed typo