Re: [BangPypers] win32com.client.Dispatch

2011-12-28 Thread Vishal
On Tue, Dec 27, 2011 at 5:34 PM, Nitin Kumar nitin.n...@gmail.com wrote: Hi All, Say I did x=win32com.client.Dispatch({6BF52A52-394A-11d3-B153-00C04F79FAA6}) where the clsid used is for window media palyer. Now if i do: dir(x) ['_ApplyTypes_', '_FlagAsMethod', '_LazyAddAttr_',

Re: [BangPypers] golf problem

2011-12-28 Thread Kenneth Gonsalves
On Wed, 2011-12-28 at 06:44 +0530, Kenneth Gonsalves wrote: def peoria(holes): import random random.shuffle(holes) result = [] checklist = [] used = [] for hole in holes: if len(checklist) == 3: break if hole[1] not in checklist:

Re: [BangPypers] win32com.client.Dispatch

2011-12-28 Thread Nitin Kumar
Thanks Visal/Sujit/Noufal, All of your reply was of great help. Specially COM Raider and makepy.py (from PyWin32 libraries) Thanks again Nitin K On Wed, Dec 28, 2011 at 4:02 PM, Vishal vsapr...@gmail.com wrote: On Tue, Dec 27, 2011 at 5:34 PM, Nitin Kumar nitin.n...@gmail.com wrote: Hi