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

Unicode string in exec()

2005-06-01 Thread Shrii
1.I read a unicode file by using codec 2.I want to pass that string to exec() statement 3.But one of my character (U+0950) in that string is not showing properly in the output got by that exec() statement could anyone help me to get proper output. ? somesh -- http://mail.python.org/mailman/lis