Set parity of a string

snacktime snacktime at gmail.com
Sun Jan 23 17:03:48 EST 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.  

Chris



More information about the Python-list mailing list