> > | hi all
> > | i want to check a condition and if true should return a filename
> > | string  from a list.if the condition is false i am returning a
> > | ""  (string literal)..

Identity is the strictest test, and you can't define your own.  Lots
of things can evaluate to True.  Only None is None.  Does that help?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to