Multidimensional arrays - how?
Jaros³aw Zabie³³o (delete .PL)
webmaster at apologetyka.com.pl
Fri May 3 08:44:54 EDT 2002
On Fri, 3 May 2002 08:38:24 -0400, "rzed" <Dick.Zantow at lexisnexis.com>
wrote:
>>>> x = {}
>>>> book,chapter,para=0,0,0
>>>> x[book,chapter,para] = 'text0'
>>>> book,chapter,para=0,0,1
>>>> x[book,chapter,para] = 'text1'
>>>> x[0,0,1]
>'text1'
>>>> x[0,0,0]
>'text0'
It was so simple that I even didn't try this way. :) It is exactly I
needed. Thanx.
--
Jarosław Zabiełło (UIN: 6712522)
URL: http://3585753410/~zbiru
More information about the Python-list
mailing list