[Python-Dev] methods on the bytes object (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Mon May 1 23:55:01 CEST 2006
- Previous message: [Python-Dev] methods on the bytes object
- Next message: [Python-Dev] python syntax additions to support indentation insensitivity/generated code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin v. Löwis wrote:
Ok. I think I would use base64, of possibly compressed content. It's more compact than your representation, as it only uses 1.3 characters per byte, instead of the up-to-four bytes that the img2py uses.
only if you're shipping your code as PY files. in PYC format (ZIP, PY2EXE, etc), the img2py format is more efficient.
- Previous message: [Python-Dev] methods on the bytes object
- Next message: [Python-Dev] python syntax additions to support indentation insensitivity/generated code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]