Re: [python-win32] getting underlying OLE object identity for win32com objects

2014-10-01 Thread Dan Lenski
Tim Roberts probo.com> writes: > Right. They are two separate Python objects. > > print table > print same_table > print table is same_table > > "is" will obviously fail, because it is checking for two identical > Python objects. However, did you try the == operator? The source co

Re: [python-win32] getting underlying OLE object identity for win32com objects

2014-10-01 Thread Tim Roberts
Dan Lenski wrote: > I'm trying to figure out if there is a canonical way to get the identity > of an object that has been wrapped by the win32com module, so that it > can be compared to other objects. > > For example, I can use this code to get a handle to the same object > twice in the JMP appl

[python-win32] getting underlying OLE object identity for win32com objects

2014-10-01 Thread Dan Lenski
Hi all, I'm trying to figure out if there is a canonical way to get the identity of an object that has been wrapped by the win32com module, so that it can be compared to other objects. For example, I can use this code to get a handle to the same object twice in the JMP application, but the two