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 iter ; with 'for' ; etc. All is slow.

Who know a way for fast get the collection like LIST?
Thanks in advance.

--
Michel Claveau


(*) slow:  0.7 seconds for len=1000



_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to