Retrieving classes from a module...
Thomas Aanensen
thoaan at stud.cs.uit.no
Tue Feb 17 04:47:10 EST 2004
More information about the Python-list mailing list
Tue Feb 17 04:47:10 EST 2004
- Previous message (by thread): OO style advice
- Next message (by thread): Retrieving classes from a module...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >>> pyclbr.readmodule("csv").keys()
> ['Dialect', 'DictReader', 'excel', 'excel_tab', 'DictWriter', 'Sniffer']
Tanks. But I already knew about that one.
The problem is that it returns all the calsses from the imported modules
aswell. I ONLY want the names of the classes declared in the specific
module..
Any ideas?
- Previous message (by thread): OO style advice
- Next message (by thread): Retrieving classes from a module...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list