> >>> 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?