Newbie References Question

Guy Rabiller grabiller at 3dvf.net
Wed Sep 25 16:24:56 CEST 2002


Hi,

let say I have:
i1 = 1
i2 = 2
and
p = [i1,i2]

How can I have:
p=[*i1,*i2]
rather than
p=[**i1,**i2] as it is curently ?

( Sorry for this nasty hybrid syntax )

Textualy, how if I want that p[0] refere to the 'i1' container, and not to
the refererence it contains ?

What I want is that if now I set:
i1 = 4
that automaticaly:
p -> [4,2]
and not keeping [1,2]

Thanks in advance.

--
guy rabiller
3d animator / td
grabiller at 3dvf.net
http://grabiller.3dvf.net





More information about the Python-list mailing list