title: Get result from Calculator with WScript.Shell
body: <p>I wanted to get a result of operation from Calculator, but can't find any special functions.
  Here's my code:</p>
  
  <pre><code>import win32com.client
  import win32api
  shell = win32com.client.Dispatch("WScript.Shell")
  shell.Run("calc")
  win32api.Sleep(100)
  shell.AppActivate("Calculator")
  win32api.Sleep(100)
  shell.SendKeys("1{+}")
  win32api.Sleep(500)
  shell.SendKeys("2")
  win32api.Sleep(500)
  </code></pre>
  
  <p>And then I want to get the result from calc and compare it with if_then, like</p>
  
  <pre><code>if calc_result== 3:
      print ("True")
  else:
      print ("False")
  </code></pre>
  
  <p>I'm working on Python 3.3.2 and it's my first steps. Thank you.</p>