[python-win32] Pythoncom PROPVARIANT

2022-04-25 Thread Nicholas Pfeiffer
Hi there, Where is the PROPVARIANT class located in the pythoncom library? The docs are not helpful about this: http://timgolden.me.uk/pywin32-docs/PyPROPVARIANT.html I've seen postings that use the propsys module but that one no longer contains the PROPVARIANT class unfortunately. I'm wondering

[python-win32] columnwise writing to excel

2008-02-18 Thread Nicholas
I am writing to arrays to excel. If I write row-wise everything works well. app.Range('d4:f4').Value = [2,3,4] However if I try to assign column wise everything goes wrong app.Range('d4:d6').Value = [2,3,4] I know I can rearrage things like [[i] for i in [2,3,4]] but it does not seem terribly

[python-win32] Excel columnwise writing

2008-02-17 Thread Nicholas
I am writing to arrays to excel. If I write row-wise everything works well. app.Range('d4:f4').Value = [2,3,4] However if I try to assign column wise everything goes wrong app.Range('d4:d6').Value = [2,3,4] I know I can rearrage things like [[i] for i in [2,3,4]] but it does not seem terribly

[python-win32] Python and excel

2008-01-20 Thread Nicholas
defined in python. 2. we can essentially get python to publish and renew when necessary any Com definition excel is working with Anyone have views or ideas on this issue? Nicholas ___ python-win32 mailing list python-win32@python.org http://mail.python.org

[python-win32] newbie question on calling DynamicPolicy.py from python com client

2008-01-19 Thread Nicholas
_error: (-2147352567, 'Exception occurred.', (0, 'Python COM Server Internal Error', "Unexpected Python Error: : Objects of type 'function' can not be converted to a COM VARIANT", None, 0, -2147467259), None) Could anyone enlighted me on what I have done wrong