Set parity of a string

Fredrik Lundh fredrik at pythonware.com
Sun Jan 23 23:52:29 CET 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?

</F> 






More information about the Python-list mailing list