[Python-Dev] str with base (original) (raw)

Fredrik Lundh fredrik at pythonware.com
Tue Jan 17 11:48:04 CET 2006


Bob Ippolito wrote:

I want binary all the time when I'm dealing with bitflags and such. Of course, I'm trained to be able to read bits in hex format, but it would be nicer to see the flags as-is. Even worse when you have to deal with some kind of file format where fields are N bits long, where N is not a multiple of 8.

so you want flags for bit order and fill order too, I assume ?



More information about the Python-Dev mailing list