The inspect module's getmembers() function takes 2 arguments - the object whose members you want to retrieve and an (optional) predicate. Could somebody please provide an example of how the predicate is used (for example - to get only the functions from a module). thanks, RT