Re: Way for see if dict has a key
- From: Bruno Desthuilliers <onurb@xxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 18:27:31 +0200
Fredrik Lundh wrote:
Bruno Desthuilliers wrote:
Seems that if "key in dict" do a simple linear search
that would be rather silly.
hint: http://pyref.infogami.com/__contains__
Of course. It's just me being silly...
:(
Thanks F
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xxxxxxxxxxx'.split('@')])"
.
- References:
- Way for see if dict has a key
- From: Michele Petrazzo
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Re: Way for see if dict has a key
- From: Michele Petrazzo
- Re: Way for see if dict has a key
- From: André
- Re: Way for see if dict has a key
- From: Fredrik Lundh
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Re: Way for see if dict has a key
- From: Fredrik Lundh
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Re: Way for see if dict has a key
- From: Fredrik Lundh
- Way for see if dict has a key
- Prev by Date: Re: Way for see if dict has a key
- Next by Date: Re: python for windows internet filter / firewall
- Previous by thread: Re: Way for see if dict has a key
- Next by thread: Re: Way for see if dict has a key
- Index(es):