[python-win32] gc does not free memory

2008-02-17 Thread TK Soh
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 have been

[python-win32] message queueing between processes

2008-02-17 Thread Sagar Khushalani
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. Sagar Khushalani Graduate Student, UTA Net

[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