Re: Testing for an empty list



Alexnb wrote:
Okay this is a simple question I just don't know how. If I have a list, say:

funList = []

and after a while something possible should have been appended to it, but
wasn't. How can I test if that list is empty.

if not funList:
do_something()

-Matt
.