On Sat, Nov 7, 2009 at 8:25 PM, Luis Alberto Zarrabeitia Gomez <ky...@uh.cu> wrote: > > Quoting Bruno Desthuilliers <bdesth.quelquech...@free.quelquepart.fr>: > >> > Another situation where one may want to do this is if one needs to >> > initialize a non-sparse array in a non-sequential order, >> >> Then use a dict. > > Ok, he has a dict. > > Now what? He needs a non-sparse array.
Let d be your dict. Call the zeroeth place in your array d[0], the first d[1], the 10000th d[100000]. -- André Engels, andreeng...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list