IronPython and collections access
Hoang Do
hoang at jotsite.com
Wed Aug 18 16:17:13 EDT 2004
I have been able to access global functions and objects with IronPython.
However the following attempt to access collections bombs:
import System
x = System.Collections.BitArray(4)
x[0]
The error message is:
'System.Collections.BitArray' object has no attribute '__getitem__'. This
is the same error with any classes derived from CollectionsBase.
Has anyone been able to access a collection successfully?
Hoang Do
http://jotsite.com
More information about the Python-list
mailing list