Octets calculation?

Martin v. Löwis martin at v.loewis.de
Tue Jun 10 02:43:45 EDT 2003


"Tyreal" <webmaster at stratastuff.com> writes:

> I was reading over the POP3 RFC (RFC 1939) and it states that
> message sizes must be in octets, but that it's different in bytes in
> that they are nonambigious (ie. bytes vary from platform to
> platform).  So is there a way to get octets from a file?

Python only supports platforms where a byte is an octet. So when you
read from a file in Python, you get octets.

Regards,
Martin





More information about the Python-list mailing list