WOW! Great! Thanks, Duncan.

On 12월2일, 오전12시33분, Duncan Booth <[EMAIL PROTECTED]> wrote:
> slomo <[EMAIL PROTECTED]> wrote:
> >>>> print line
> > \u0050\u0079\u0074\u0068\u006f\u006e
>
> > But I want to get a string:
>
> > "\u0050\u0079\u0074\u0068\u006f\u006e"
>
> > How do you make it?
>
> line.decode('unicode-escape')

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to