printing a sequence...

Peter Otten __peter__ at
Fri Jul 16 20:44:42 CEST 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 :(


More information about the Python-list mailing list