Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ネットワークから受信した圧縮バイト配列があり、LZO 圧縮されています。LZOを使用して解凍する必要があります。Pythonのパッケージを既にインストールしておりpython-lzo-1.0.8、Python シェルをチェックインしました。適切にインストールされていますが、LZO Decompression の使用方法や python-lzo のドキュメントが見つかりません。誰でもこれで私を助けることができますか?
python-lzo-1.0.8
テスト スイートをチェックして、その使用方法を確認できます。
要するに:
import lzo d = lzo.decompress(lzo_compressed_bytearray)