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


Groups > comp.lang.python > #26871 > unrolled thread

dictionary into desired variable....

Started byTamer Higazi <th982a@googlemail.com>
First post2012-08-10 16:02 +0200
Last post2012-08-10 16:02 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#26871 — dictionary into desired variable....

FromTamer Higazi <th982a@googlemail.com>
Date2012-08-10 16:02 +0200
Subjectdictionary into desired variable....
Message-ID<mailman.3161.1344607363.4697.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web