Set parity of a string

snacktime snacktime at
Sun Jan 23 23:03:48 CET 2005

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.

The perl module String::Parity is what I have used to do this under perl.  


More information about the Python-list mailing list