Re: Unicode string in exec

2005-06-02 Thread Shrii
I came out with proper solution today ! thanx for your response -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode string in exec

2005-06-02 Thread John Roth
See below. -- "Jeff Epler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] First off, I just have to correct your terminology. "exec" is a statement, and doesn't require parentheses, so talking about "exec()" invites confusion. I'll answer your question in terms of eval

Re: Unicode string in exec

2005-06-02 Thread Jeff Epler
First off, I just have to correct your terminology. "exec" is a statement, and doesn't require parentheses, so talking about "exec()" invites confusion. I'll answer your question in terms of eval(), which takes a string representing a Python expression, interprets it, and returns the result. In