from pyoptools.raytrace.mat_lib.material import liblist for lib,mat in liblist: print(lib)
for i in library.Edmund.parts(): try: a=library.Edmund.get(i) print(type(a)) except: pass