Base64 To String Python, compress () is not an implementation of the same algorithm as the standard Deflate .