how to print unicode structures?
Timothy Babytch
tim at zeos.net
Mon Jan 17 03:21:23 EST 2005
Imagine you have some list that looks like
('unicode', 'not-acii', 'russian') and contains characters not from
acsii. or list of dicts, or dict of dicts.
how can I print it? not on by one, with "for" - but with just a simple
print? My debugging would be MUCH simpler.
Now when I try print or pprint that variable I get a page full of
'\xe4\xeb\xa2\xa0\xe6\xe3\xaa\xe6\xe3\xaa' and so on.
I use Python 2.4, Fedora Linux, UTF-8 locale
More information about the Python-list
mailing list