Edward D. Loper writes: > p.s., Is there a reason that __builtins__.__name__ == '__builtin__' > instead of '__builtins__'? Yes; the same reason that "import __builtin__" works but "import __builtins__" does not. ;-) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Digital Creations