Library for parsing binary structures

Paul Moore p.f.moore at gmail.com
Thu Mar 28 05:07:38 EDT 2019


On Thu, 28 Mar 2019 at 08:15, dieter <dieter at handshake.de> wrote:
> What you have is a generalized deserialization problem.
> It can be solved with a set of deserializers.

Yes, and thanks for the suggested code structure. As I say, I can
certainly do the parsing "by hand", and the way you describe is very
similar to how I'd approach that. My real interest is in whether any
libraries exist to do this sort of thing (there are plenty of parser
libraries for text, pyparsing being the obvious one, but far fewer for
binary structures).

Paul



More information about the Python-list mailing list