Problems using struct pack/unpack in files, and reading them.

Ian Kelly ian.g.kelly at gmail.com
Sat Nov 14 12:13:18 EST 2015


On Nov 14, 2015 10:10 AM, "Chris Angelico" <rosuav at gmail.com> wrote:
>
> On Sun, Nov 15, 2015 at 4:04 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> > Unary integer division seems pretty silly since the only possible
results
> > would be 0, 1 or -1.
>
> 1, -1, or ZeroDivisionError. The zero's on the other side. But yes.

// 42 == 1 // 42 == 0



More information about the Python-list mailing list