Berkeley XML DB queries
Chris Irish
chris.irish at libertydistribution.com
Thu Aug 19 14:35:07 EDT 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?
>
> Dan
what about
type(results) #to get the type
and
len(results) #to get the length
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040819/88fb1555/attachment.html>
More information about the Python-list
mailing list