determining the bounds of a tuple returned from a database
fredrik at pythonware.com
Fri Nov 17 07:51:45 CET 2006
> it looks like the len() function is the one I want.
> for: len(result) - i get 248,
> but for len(result) or len(result) i always get 0.
that's a bit surprising, because both items are tuples that contain
exactly one item:
>> (('Agricultural subsidies; Foreign aid',), ('Agriculture; Sustainable
>> Agriculture - Support; Organic Agriculture; Pesticides, US, Childhood
>> Development, Birth Defects; Toxic Chemicals',),
More information about the Python-list