On Tue, Jul 5, 2011 at 3:40 PM, Walter Prins <wpr...@gmail.com> wrote: >> So the trick is to define the dictionary in separate sessions, not at >> once. > > What do you mean, "seperate sessions, not at once"?
He means you can't say: d = {a: "1", b: d["a"]} Which is correct. To set one value based on another they must be set separately. -- Brett Ritter / SwiftOne swift...@swiftone.org _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor