in over my head ascii
mensanator at aol.com
mensanator at aol.com
Mon Feb 6 16:01:34 EST 2006
nephish at xit.net wrote:
> ok, part of what i have to do is know how many bytes will be sent. in
> ascii is it one byte per character ?
> like "password" would be 8 bytes long?
Yes, but when someone says ASCII STX, they usually mean
the single byte control character. This is a non-printable character
that you can create with chr(2). And ETX would be chr(3) (as
mentioned by DLB, there is no such thing as ASCII ENX).
More information about the Python-list
mailing list