title: printout( ) TypeError bool
body: <pre><code>import win32com.client
  
  ExObj = win32com.client.Dispatch("Excel.Application")
  ExObj.Visible = 1
  wb = ExObj.Workbooks.Open('')
  ws = wb.Worksheets[0]
  ws.printout()
  </code></pre>
  
  <p>This opens and sends the excel file to the printer and prints it but then produces the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "U:/rmarshall/Work For Staff/ROB/_Python/__Python Projects Code/Time Sheet.py", line 26, in &lt;module&gt;
      ws.printout()
  TypeError: 'bool' object is not callable
  </code></pre>
  
  <p>How do I avoid this error?</p>