[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]gives[2,2,2] I know I can rearrage things like [[i] for i in [2,3,4]] but it does not

Re: [python-win32] How do you find the Windows process ID of a COM server?

2008-02-18 Thread Tim Roberts
Marcus Low wrote: This wont work on Vista. FindWindow is no longer an acceptable api to use. That is simply not true. If you can point to the web site where you read this, I'll try to figure out how you misinterpreted it. -- Tim Roberts, [EMAIL PROTECTED] Providenza Boekelheide, Inc.

Re: [python-win32] Some problems with instantiating a type library

2008-02-18 Thread Tim Roberts
pierre cutellic wrote: Well, I tried this way first, but this is not working, and that's why i'm a bit stuck. import win32com.client, time Rhino = win32com.client.Dispatch('Rhino4.Application') time.sleep(1) Rhino.Visible = True RS = Rhino.GetScriptObject() *It returns: *RS =

Re: [python-win32] columnwise writing to excel

2008-02-18 Thread Tim Roberts
Nicholas wrote: 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]gives[2,2,2] I know I can rearrage things like [[i] for i in

Re: [python-win32] message queueing between processes

2008-02-18 Thread Tim Roberts
Sagar Khushalani wrote: i have 5 processes. out of these, i need 1 to start a queue that can be shared between the other 4. 2 of them will add messages to the queue and 2 will read and remove off of it. any ideas? i'm a little confused how to share the queue between them. The Python Queue

Re: [python-win32] message queueing between processes

2008-02-18 Thread Gerdus van Zyl
Try one of these: (in order of my preference) http://datamining.anu.edu.au/~ole/pypar/ http://www.parallelpython.com/ http://www.its.caltech.edu/~astraw/seppo.html http://www-users.cs.york.ac.uk/~aw/pylinda/ They exist on a higher level than pure IPC in that running a master server, spawning

Re: [python-win32] gc does not free memory [SEC=PERSONAL]

2008-02-18 Thread Andrew MacIntyre
I am trying to understand Python's garbage collection mechanism. I have a long running program (actually a shell extension) that needs to allocate large arrays occasionally, which I'd del after use, then call gc.collect() to collect them. But although gc.get_objects() reported the arrays

[python-win32] error

2008-02-18 Thread Sagar Khushalani
I'm using wxPython and the processing module. I create a main file which has a gui with buttons. Each button creates starts a separate process. However, when I click any of the buttons, I get an stderr/stdout box from wxPython with the following error. I checked online, and found some similar

[python-win32] how to set outlook/thunderbird as default e-mail client .

2008-02-18 Thread Antony Joseph
hi How to set outlook or Thunderbird as a default e-mail client in windows. Any help.pls Thanks ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32