New to Python: Do we have the concept of Hash in Python?

A.M alanalan at newsgroup.nospam
Thu Jun 1 16:42:40 CEST 2006


I am new to Python, with C#/Java background

Is there any built-in Hash implementation in Python? I am looking for a 
container that I can access to it's items by name. Something like this:

Print container["memeberName"]

I am asking this because I learned that DB-API in Python doesn't offer 
access to cursor columns by name. The only option is access by index. I hope 
that I've got it wrong!

I learned Ruby perfectly supports that.

Thank you,


More information about the Python-list mailing list