... Zlib::GzipReader.new(f) print gz.read gz.close end. How should I ungzip a string? ... Try the gzip module, code below is straight from the python docs.
確定! 回上一頁