Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26871

dictionary into desired variable....

Date 2012-08-10 16:02 +0200
From Tamer Higazi <th982a@googlemail.com>
Subject dictionary into desired variable....
Newsgroups comp.lang.python
Message-ID <mailman.3161.1344607363.4697.python-list@python.org> (permalink)

Show all headers | View raw


Hi!
suppose you have a dictionary that looks like this:

x = [1,3,6,1,1] which should represent a certain other variable.

in reality it would represent:

y[1][3][6][1][1]

Now, how do I write a python routine, that points in this dictionary,
where I should receive or set other values.



Tamer

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

dictionary into desired variable.... Tamer Higazi <th982a@googlemail.com> - 2012-08-10 16:02 +0200

csiph-web