basic question, sorry

Will Ware wware at world.std.com
Mon Aug 21 04:35:48 EDT 2000


Ruud de Rooij (*@spam.ruud.org) wrote:
> dict.has_key(n)

Alternatively:

if n in dict.keys():
	do stuff

-- 
# - - - - - - - - - - - - - - - - - - - - - - - -
# Resistance is futile. Capacitance is efficacious.
# Will Ware	email:    wware @ world.std.com



More information about the Python-list mailing list