For ex: to check list 'A' is empty or not.. if A == []: if A.count == 0: if len(A) == 0: if not A:
Thanks, Srini Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -- http://mail.python.org/mailman/listinfo/python-list