Hey there,

this time my question is a bit simpler.
i can make a byte a string or number or whatever now. Up to the number 255.
I now have a problem with something that comes in as a 4 byte representation of
the number of seconds since 1970.
I have been using ord(byte) to make sense of the messages so far, but i don't know how to add bytes greater than 255.

the c program that sends us these defines the variable as an unsigned long int.

anyone know how to make these four bytes a number of seconds ?

thanks

sk

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

Reply via email to