printing a sequence...

Peter Otten __peter__ at web.de
Fri Jul 16 14:44:42 EDT 2004


Lonnie Princehouse wrote:

>    print [str(x) for x in a]

will call repr(str(x)) for all x with undesirable effects for non-ascii
characters and extra quoting.

Looks like you made the same error that I did - after I corrected it :(

Peter







More information about the Python-list mailing list