Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105593
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Bug in python34 package struct |
| Date | 2016-03-24 20:04 +1100 |
| Message-ID | <mailman.84.1458810294.2244.python-list@python.org> (permalink) |
| References | <CAKi7j4zQbtz8-gKX5gH+_byL8LQy6ZSE4czr-qW6bGtuLiSMxQ@mail.gmail.com> |
On Thu, Mar 24, 2016 at 7:17 PM, Rudi Lopez Lopez <rlopezsr@gmail.com> wrote:
> from struct import pack
>
> print(hex(126))
> print(pack('>H',126))
Explain the bug?
ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Bug in python34 package struct Chris Angelico <rosuav@gmail.com> - 2016-03-24 20:04 +1100
csiph-web