Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41644

encoding for colon-separated hex?

From Mathias Kőrber <mathias@koerber.org>
Newsgroups comp.lang.python
Subject encoding for colon-separated hex?
Date 2013-03-21 19:36 +0800
Message-ID <ar09mlF4ng6U1@mid.individual.net> (permalink)

Show all headers | View raw


is there a built-in encoding (for encode/decode methods) that
as colon-separated hex (01:02:03:04...)?

'hex' seems to encode as '01020304' and while one can postprocess that
to insert the colons, if a single operation exists, I'd rather use that.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

encoding for colon-separated hex? Mathias Kőrber <mathias@koerber.org> - 2013-03-21 19:36 +0800

csiph-web