is hash map data structure available in Python?

Terry Reedy tjreedy at
Wed Mar 19 22:51:41 CET 2008

"sturlamolden" <sturlamolden at> wrote in message 
news:87a293ab-c4f1-4dfc-97b7-efb10bb42e6b at
| On 19 Mar, 09:40, grbgooglefan <ganeshbo... at> wrote:
| > How do I create hash map in Python?
| Python dictionaries are the fastest hash maps known to man.

If you only have keys (the names) and no values attached to them, then use 
a set. 

More information about the Python-list mailing list