title: I have a code that opens excel application with win32com and similar code with xlwings
body: <p>The code looks like this:</p>
  <pre><code>wbtest = xw.Book('test1.xlsx')
      
  ws1 = wbtest.sheets['Sheet1']
  ws1.range(&quot;A1&quot;).value =&quot;100&quot;
  wbtest.save()
  wbtest.save(r'C:\Users\afoto001.000\Desktop\All projects\DC projects\codes\test1.xlsx')
  wb.kill()
  </code></pre>
  <p>The code basically starts an excel document and writes 100 to Sheet1. After that, I'd like Excel to close on its own, without the need for user intervention. Any suggestions or ideas would be much appreciated.</p>