title: In python removing rows from a excel file using xlrd, xlwt, and xlutils
body: <p>Hello everyone and thank you in advance.</p>
  
  <p>I have a python script where I am opening a template excel file, adding data (while preserving the style) and saving again. I would like to be able to remove rows that I did not edit before saving out the new xls file. My template xls file has a footer so I want to delete the extra rows before the footer.</p>
  
  <p>Here is how I am loading the xls template:</p>
  
  <pre><code>self.inBook = xlrd.open_workbook(file_path, formatting_info=True)
  self.outBook = xlutils.copy.copy(self.inBook)
  self.outBookCopy = xlutils.copy.copy(self.inBook)
  </code></pre>
  
  <p>I then write the info to outBook while grabbing the style from outBookCopy and applying it to each row that I modify in outbook.</p>
  
  <p>so how do I delete rows from outBook before writing it? Thanks everyone!</p>