Hi Guys

I am looking for a way to build dictionaries of dict in python.

For example in perl I could do

my $hash_ref = {};
$hash->{$a}->{$b}->{$c} = "value";
if (exists $hash->{$a}->{$b}->{$c} ){ print "found value"}

Can I do something similar with dictionaries in Python.


Thanks
-Abhi
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to