basic question, sorry

Ruud de Rooij * at spam.ruud.org
Mon Aug 21 02:09:21 EDT 2000


s_gherman at yahoo.com writes:

> How can I check that dict[n] exists or not already?

dict.has_key(n)

	- Ruud de Rooij.
-- 
ruud de rooij | *@spam.ruud.org | http://ruud.org



More information about the Python-list mailing list