Set parity of a string

Fredrik Lundh fredrik at
Sun Jan 23 17:52:29 EST 2005

"snacktime" wrote:

> Is there a module that sets the parity of a string?  I have an
> application that needs to communicate with a host using even parity
> So what I need is before sending the message, convert it from space to
> even parity.  And when I get the response I need to convert that from
> even to space parity.

umm.  shouldn't the communication library do this for you?


More information about the Python-list mailing list