On Tue, Sep 1, 2009 at 9:29 AM, Ecir Hana <ecir.h...@gmail.com> wrote:

> - if I understood it correctly defining a function in the string and
> exec-ing it created the function in current scope. This is something I
> really don't want
>

Oops, missed that point.

May I ask what is there you don't want, and what about putting the function
inside a different module and importing? What's so bad about being "in
scope"?

Sincerely,
-Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to