title: Why can't I write control identifiers to a file or assign them to a string or list
body: <p>I'm using pywinauto to list the control identifiers of a particular application. I can do that just fine. However, I want to save those control identifiers to file, or better yet assign them to a string or list, but cannot write them or assign them .... Does anyone know a way to get these identifiers to a file or memory programmatically? </p>
  
  <p>sample code:</p>
  
  <pre><code>import os
  import time
  from pywinauto import application
  from SendKeys import SendKeys
  
  
  app=application.Application()
  app.start_(r"C:\Program Files\myapp.exe")
  
  
  app.dlg.print_control_identifiers()
  
  Control Identifiers:
  Button - 'Exit'   (L900, T649, R975, B672)
          'Button' 'Button0' 'Button1' 'Exit' 'ExitButton'
  Button - 'About'   (L339, T646, R410, B672)
          'About' 'AboutButton' 'Button2'
  ...
  ...
  ...
  </code></pre>
  
  <p>I tried the following:</p>
  
  <pre><code>my_App_ci = app.dlg.print_control_identifiers()
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>my_App_ci = []
  my_App_ci.append(app.dlg.print_control_identifiers())
  </code></pre>
  
  <p>to no avail ....</p>