title: How do i add path in python docx?
body: <p>I am trying to add a path in this code, how do i do it? I dont understand it.</p>
  
  <pre><code>
  
  # folder path
  data_folder = Path("Desktop\biologi")
  
  if y == ('biologi'):
      document = Document() #create blank document
      document.save(y+(x.strftime(" %Y-%m-%d"))+".docx") #save blank document, lägg in path här
      document = Document(y+(x.strftime(" %Y-%m-%d"))+".docx") #open document
      p = document.add_paragraph()
      p.add_run(str(y+(x.strftime(" %Y-%m-%d"))))#edit words
      document.save(y+(x.strftime(" %Y-%m-%d"))+".docx")#save edited document
  
  ´´´
  </code></pre>