correct or

a=[d for d in globals().values() if isinstance(d,SQLDB)]

On Mar 15, 6:22 pm, DenesL <[email protected]> wrote:
> On Mar 14, 10:19 am, mdipierro <[email protected]> wrote:
>
> > or
>
> > a=[d for d in globals() if isinstance(d,SQLDB)]
>
> > Massimo
>
> I think you mean:
> a=[globals()[d] for d in globals() if isinstance(globals()[d],SQLDB)]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to