Easily convert your python 3k str to bytes and bytes to str and avoid those pesky type errors.