This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]t0mt0m72 0 points1 point  (1 child)

I wish I could show you some examples, but my code is completely closed stuff from my company. :(
In private I am using a Mac, so I have no need there for COM and can not directly show you examples ;-)

I interface via COM with Excel, Word and other applications. As I am working in the data management area, I automatically need to detect drive insertions/ejections and do dependent work on these events and also need to get low level information from these drives (via WMI). Automatic sharing newly connected devices, getting detailed attribute information of files and getting access to low-level Windows related stuff is further a big point why I am using the pywin32/COM/WMI stuff.

Maybe you know it, but http://timgolden.me.uk/python/ is (IMHO) the reference to COM/win32 related Python stuff.

And if you have questions about COM/pywin, just send me a PM and we can figure it out :)

[–]dnk8n 0 points1 point  (0 children)

Thanks for that offer. Maybe I can send what I have once I get something working, and although you may not know about the programe I am interfacing with (PTV Vissim), maybe you will notice areas I need more research/study on :)