Re: Index of maximum element in list

2008-01-25 Thread Henry Baxter
Thanks Hexamorph and Neal. Somehow I didn't make the connection with using 'index', but I'm all sorted out now :) On Jan 25, 2008 1:47 PM, Hexamorph <[EMAIL PROTECTED]> wrote: > Henry Baxter wrote: > > Oops, gmail has keyboard shortcuts apparently, to conti

Re: Index of maximum element in list

2008-01-25 Thread Henry Baxter
e how to do that either...Suggestions are very much welcome! On Jan 25, 2008 1:37 PM, Henry Baxter <[EMAIL PROTECTED]> wrote: > I apologize if this has already been discussed - funnily enough my > googling did bring up a previous thread about it on this mailing list, but > despite t

Index of maximum element in list

2008-01-25 Thread Henry Baxter
I apologize if this has already been discussed - funnily enough my googling did bring up a previous thread about it on this mailing list, but despite the promising subject line, seemed to mainly be concerned with whether python-list should its own FAQ...so I assume this has been asked many times be

Re: ctypes, GetWindowLongPtr

2008-01-12 Thread Henry Baxter
Henry On Jan 11, 2008 9:33 PM, David Wahler <[EMAIL PROTECTED]> wrote: > On Jan 11, 2008 9:14 PM, Henry Baxter <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I have been happily using ctypes for a while to do win32 programming. I > use the Microsoft documentation

ctypes, GetWindowLongPtr

2008-01-11 Thread Henry Baxter
Hello, I have been happily using ctypes for a while to do win32 programming. I use the Microsoft documentation to understand the function, then call it with the help of ctypes. The problem is that the docs says user32.dll has GetWindowLongPtr, but ctypes can't find it using windll.user32.GetWindo