You can use the zlib module available in python to compress and decompress the string. Refer to the code below:
確定! 回上一頁