[Solution found!] 如果您想产生一个完整的,gzip兼容的二进制字符串(带有标头等),则可以gzip.GzipFile与一起使用StringIO: try: from StringIO import StringIO ...
確定! 回上一頁