Re: [python-win32] Slow convert collection to list (search a fastway)

2009-02-11 Thread Michel Claveau
Re! You think 700 microseconds for a COM transaction is slow? Perhaps it is your expectations that need adjusting. When I get an array of data (for example, numbers), the (same) list conversion (len=1000) take 0.07 s But with array of object, it is ten times more slow (0.7 s). In my appli,

Re: [python-win32] Slow convert collection to list (search a fast way)

2009-02-11 Thread Tim Roberts
You wrote: > >Hi! > >I get a collection of (COM) objects: >tobj = oie.prepartableau(#it's a JScript array of objects, returned >by a JScript function via COM >I convert (translate? transtype?) this collection to LIST: >lobj = list(tobj) >But it's (very) slow(*). I tried [i for i in to

[python-win32] Slow convert collection to list (search a fast way)

2009-02-11 Thread Michel Claveau
Hi! I get a collection of (COM) objects: tobj = oie.prepartableau(#it's a JScript array of objects, returned by a JScript function via COM I convert (translate? transtype?) this collection to LIST: lobj = list(tobj) But it's (very) slow(*). I tried [i for i in tobj] ; I tried with it

Re: [python-win32] EOFError in gencache.py

2009-02-11 Thread Mark Hammond
> My app consists of 2 scripts. The first one is an infinite loop which > calls periodically the second script. The first script does not work > with COM. The second script makes one instance of COM, calls some its > methods and ends. The first script waits until the second one finishes > its job s

Re: [python-win32] numpy and pylab on win64 ?

2009-02-11 Thread Tim Roberts
Dominick Lauzon wrote: > > Maybe not the right forum, but I am in the process of porting stuff > developed originally on win32 to a win64 platform. > > > > One of the script used to call numpy and pylab. > > > > I cannot find 64bit specific installs for these but am wondering if > installing th

[python-win32] numpy and pylab on win64 ?

2009-02-11 Thread Dominick Lauzon
Maybe not the right forum, but I am in the process of porting stuff developed originally on win32 to a win64 platform. One of the script used to call numpy and pylab. I cannot find 64bit specific installs for these but am wondering if installing the 32bit version would still work on my xp64