>>> list1 = []
>>> list1 == []
True
>>> list1 != []
False
>>>

On Wed, Oct 24, 2012 at 4:33 PM, Hector Magnanao <[email protected]>wrote:

> Hi,
>
> How do you check if a list is empty in web2py ? Basically I need to check
> this logic:
>
>     result = tm.get_stops(lat, lon);
>
> I want to see if result is empty or not.
>
> Thanks,
>
> --
>
>
>
>

-- 



Reply via email to