> d = {}
> execcode in globals(), d
> return d['foo']
>
> My way:
>
> return function(compile(code, '<string>', 'exec'), globals())
>With some help from the guys at IRC I came to realize your way doesn't do the same. It creates a function that, when called, creates 'foo' on globals(). This is not exactly what I need. Eli -- http://mail.python.org/mailman/listinfo/python-list
