set to array

Alan G Isaac aisaac at american.edu
Fri Jul 30 14:33:07 EDT 2004


Numeric.array(myset) returns an array with
one element, which is the set.

i. Even allowing that sets are not sequence types,
is this not surprising?

ii. What is the best way to produce an array of
the set elements?

Thanks,
Alan Isaac





More information about the Python-list mailing list