Hello,
I want to write a simple encrypter, but I've got a problem: How can I convert characters into integers?....
Check this out, you'll like it even more than ord/chr: import array
def mangle(message): a = array.array('B') a.fromstring(message) for i in range(len(a)): a[i] += 1 return a.tostring()
print mangle('Hello, Harry')
-Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list