>>> a = dir() >>> from string import * >>> b = dir() >>> for each in b: if not (each in a): print each I couldn't get Mike's sys.module['imported_mod'].keys() to work, and dir() of import * type thing doesn't do it. HTH, Emile van Sebille emile at fenx.com -------------------