469,343 Members | 5,388 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

looking for case insesitive dictionary

so e.g.

x={}
x['a']=1
x['A']=2
print x['a'] #prints 2

Thx, A.
Jul 18 '05 #1
2 1232
Andy Leszczynski wrote:
so e.g.

x={}
x['a']=1
x['A']=2
print x['a'] #prints 2

Thx, A.


http://www.google.com/search?&q=pyth...ive+dictionary

Michael

Jul 18 '05 #2
http://www.voidspace.org.uk/python/m...shtml#caseless

Case Insensitive Dictionary, List and Sort

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Elbert Lev | last post: by
11 posts views Thread by Ville Vainio | last post: by
26 posts views Thread by Joe Stevenson | last post: by
reply views Thread by William Stacey [MVP] | last post: by
8 posts views Thread by Edwin Knoppert | last post: by
reply views Thread by Chris Rebert | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.