hello all,

i have a number 12480
i have a low byte of 192 and a high byte of 176

so i can do this

IDLE 1.2.1      ==== No Subprocess ====
>>> (176 & 127) * 256 + 192
12480

but if i start with the 12480, how do i get the two bytes (lo and hi)
that make it up?

i kinda know what i am doing here, but keep getting tripped up

thanks

shawn
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to