Hashtables in pyhton ...

Max M maxm at mxm.dk
Thu Mar 9 10:32:17 EST 2006


Konrad Mühler wrote:
> Hi,
> 
> are there predefinded chances to use hashtables in python? How can I use 
> Hashtable in python? Or do I have to implement this on my own?


 >>> a_hash_is_a_dict = {'key':'value'}
 >>> a_hash_is_a_dict['key2'] = 'value 2'
 >>> a_hash_is_a_dict['key']
'value'

-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

Phone:  +45 66 11 84 94
Mobile: +45 29 93 42 96



More information about the Python-list mailing list