Python lesson please

Chris Angelico rosuav at gmail.com
Tue Nov 8 01:42:20 EST 2011


On Tue, Nov 8, 2011 at 5:29 PM, gene heskett <gheskett at wdtv.com> wrote:
> Not on that file, but on the next pull it was, and works now.  And on the
> first file, the blink compare disclosed I had some indentation wrong, and
> that there was a lowercase b in front of all the opening double quotes used
> that I didn't get originally.  I have no clue what this:
>        b"hex data" means to python.

That's the repr() of a Bytes string (as opposed to a Unicode string)
in Python 3. If that's your only issue, I'd say you have it working
fine under Python 3; if there are other problems, try running it under
Python 2.7.

ChrisA



More information about the Python-list mailing list