python - run length encode / decode

NoSuchKey