looking 4 py code: run-length compression - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Bar (https://python-forum.io/forum-27.html) +--- Thread: looking 4 py code: run-length compression (/thread-1394.html) |
looking 4 py code: run-length compression - Skaperen - Dec-30-2016 i am looking for (will eventually code it if not found) code to do simple run-length compression. RE: looking 4 py code: run-length compression - Larz60+ - Dec-30-2016 https://helloacm.com/runlength-compression-algorithm-demonstration-in-python/ RE: looking 4 py code: run-length compression - Skaperen - Dec-31-2016 i would modify that so a single character did not need a number so 'abcde' -> 'abcde'. but as you can tell from the outset, this wastes codespace. in most cases i would do bzip and put that in base64/32/16 if the transport environment was not 8-bit capable. |