def SelectTlb(title='Select Library', excludeFlags=0):
 import pywin.dialogs.list
 items = EnumTlbs(excludeFlags)
 for i in items:
  i.major = int(i.major, 16)
  i.minor = int(i.minor, 16)
 items.sort()
 rc = pywin.dialogs.list.SelectFromLists(title, items, ['Type Library'])
 if (rc is None):
  return None
 return items[rc]

def SelectTlb ( title = 'Select Library' , excludeFlags = 0 ) : import pywin . dialogs . list items = EnumTlbs ( excludeFlags ) for i in items : i . major = int ( i . major , 16 ) i . minor = int ( i . minor , 16 ) items . sort ( ) rc = pywin . dialogs . list . SelectFromLists ( title , items , [ 'Type Library' ] ) if ( rc is None ) : return None return items [ rc ]
display a list of all the type libraries .