python3 binascii.hexlify ...

  • Thread starter Cameron Simpson
  • Start date
C

Cameron Simpson

This seems to return a bytes object in Python 3.3.0. I was expecting a
string. The documentation here:

http://docs.python.org/3/library/binascii.html#binascii.hexlify

also keeps me expecting a string. Am I missing something?

Example:

[hg/css-venti-bytes+utf8]fleet*2> python3
Python 3.3.0 (default, Nov 11 2012, 08:47:42)
[GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))]
on darwin
Type "help", "copyright", "credits" or "license" for more information.
I'm on a Mac but am hoping that is irrelevant.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top