2009/3/27 Lawrence Oluyede <[email protected]>:
>
> print [name for name in dir(modulo) if inspect.ismodule(getattr(modulo, 
> name))]
>

ahah era metodi, non moduli. sostituisci inspect.ismodule con ismethod


-- 
Lawrence Oluyede
[eng] http://oluyede.org - http://twitter.com/lawrenceoluyede
[ita] http://neropercaso.it - http://twitter.com/rhymes
_______________________________________________
Python mailing list
[email protected]
http://lists.python.it/mailman/listinfo/python

Rispondere a