Berkeley XML DB queries
chris.irish at libertydistribution.com
Thu Aug 19 20:35:07 CEST 2004
Dan Olsen wrote:
> I have an Berkeley XML DB in my current program. I can query the
> database and get the results. However, I'm not quite sure what data
> type the results are saved in. I am new to Python and Berkeley XML DB.
> I can use the results in a for statement but I want to know how many
> elements were returned to the result. Does anyone know how to do this?
type(results) #to get the type
len(results) #to get the length
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list