[python-win32] Forcing win32com.client.dispatch to start up a fresh Excel

2005-06-21 Thread Tom_RobbinsMilne
Hi, I'm trying to use Python's win32com interface to drive an excel spreadsheet. I've managed to have it open the sheet, call a VBA function with arguments, and close it down cleanly. However, if Excel is already running, it closes the open instance. Which is not good. Is there a way I can do

Re: [python-win32] Forcing win32com.client.dispatch to start up a freshExcel

2005-06-21 Thread Tom_RobbinsMilne
Tim, That worked perfectly. Much obliged. Thanks very much, Tom "Tim Golden" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/21/2005 11:52 AM To cc Subject Re: [python-win32] Forcing win32com.client.dispatch to start up a        freshExcel [EMAIL PROTECTED] | I'm

Re: [python-win32] Forcing win32com.client.dispatch to start up a fresh Excel

2005-06-21 Thread Tom_RobbinsMilne
John, >> If this means "Can I create a totally different independant instance of >> Excel so that I don't run the risk of stuffing up what the user is doing >> with their existing instance", then I'd like to know too. That's exactly what it is. Actually a bit more complicated than that for me

[python-win32] Application exception in Python.dll

2005-11-23 Thread Tom_RobbinsMilne
Hi, I have a series of python programs that communicate over sockets. The server is using asyncore, the clients just the bare socket library. The system is just storing strings of XML associated with a particular name, kinda like a poor man's file system. The trouble is that it mostly runs fine

Re: [python-win32] Application exception in Python.dll

2005-11-23 Thread Tom_RobbinsMilne
John, Thanks very much. I'll try there. I thought it may be something specific to windows, as running it on Linux seems to work fine. My apologies for the typo, the correct hex number is : fault address 0x0007ef60 Thanks, Tom John Machin <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/

Re: [python-win32] win32process open-terminate loop cripples OS

2006-03-20 Thread Tom_RobbinsMilne
David, Maybe I'm missing something, but doesn't XP take awhile to launch and kill Notepad? Does it work a bit better if you launch a process every 10 seconds? Thanks, Tom "David S." <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/20/2006 09:42 AM To python-win32@python.org cc

Re: [python-win32] how to know the native file path of computer A on computer B

2006-03-21 Thread Tom_RobbinsMilne
Michael, If you just need to deal with the path to the executable, perhaps os.path.normpath() is what you're looking for. Regards, Tom Michael Li <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/21/2006 12:33 PM To python-win32@python.org cc Subject [python-win32] how to kno