在Python中调用str.encode('zlib')时可以指定压缩级别吗?
在Python中,调用str.encode('zlib')时,可以指定压缩级别吗?
'hi world'.encode('zlib') # compress the string
在Python中,调用str.encode('zlib')时,可以指定压缩级别吗?
'hi world'.encode('zlib') # compress the string