title: Python - Methods
body: <pre><code>from win32com.client import Dispatch
  
  x1App = Dispatch("Excel.Application")
  </code></pre>
  
  <p>I have created an object for excel.</p>
  
  <p>Now I want to know the list of methods available for the object x1App</p>
  
  <p>When I print dir(x1App). I am getting the following list</p>
  
  <pre><code>['_ApplyTypes_', '_FlagAsMethod', '_LazyAddAttr_', '_NewEnum', '_Release_', '__ArToID__', '__LazyMap__', '__call__', '__doc__', '__eq__', '__getattr__', '__getem__', '__init__', '__int__', '__len__', '__module__', '__ne__', '__nonzero__, '__repr__', '__setattr__', '__setitem__', '__str__', '_builtMethods_', '_enum, '_find_dispatch_type_', '_get_good_object_', '_get_good_single_object_', '_lydata_', '_make_method_', '_mapCachedItems_', '_oleobj_', '_olerepr_', '_printetails_', '_proc_', '_unicode_to_string_', '_username_', '_wrap_dispatch_']
  </code></pre>
  
  <p>but no where in the list it displays "Workbooks".</p>
  
  <p>After creating the object x1App. I want to add workbook. Why it's not displaying Workbooks</p>