Christian Heimes wrote:
Ray wrote:
I already find the way to fix it. :-)
I consider it good style when people describe their solution to a
problem, too. Other Python users may run into the same issue someday. :)
Christian
He probably used: pythoncom.CoInitialize()
--
MPH
http://blog.dcu
Ray wrote:
I already find the way to fix it. :-)
I consider it good style when people describe their solution to a
problem, too. Other Python users may run into the same issue someday. :)
Christian
--
http://mail.python.org/mailman/listinfo/python-list
I already find the way to fix it. :-)
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I have a problem with thread and win32com.client
running python 2.5 on vista (activestate python)
import win32com.client, thread
def child(test):
problem=win32com.client.Dispatch("WScript.Shell")
print 'hello from thread', test
def parent():
i=0
while 1:
Thanks for the reply. I will chew on this a bit.
"Kartic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> 1. Put your COM invokations in a try/except loop. From my experience,
> that helped me prevent, in most cases, Excel from "hanging" and having
> to restart the PC too. I
Hi,
1. Put your COM invokations in a try/except loop. From my experience,
that helped me prevent, in most cases, Excel from "hanging" and having
to restart the PC too. In the except part, release the Excel (or other
COM resource) (e.g.calling workbook.Close() or excelobj.Quit(),
depending on the s
I've been using the win32com module with very good success in placing data
onto an Excel spreadsheet. However, whenever I have an error in my script
(like mapping a non-square array onto the spreadsheet), something breaks.
After fixing my error and restart the Python program again, Excel would
sta