it *is* a string.

because most of the characters are not printable, they're presented using hex
notation when you repr() the string.  That's what entering an expression in the
interactive interpreter does (except that it never prints 'None').

If you really want to write whatever those bytes are, then do something like
>>> print x
or 
>>> sys.stdout.write(x)

Jeff

Attachment: pgpmf6usUJ6jW.pgp
Description: PGP signature

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

Reply via email to