Convert integer to fixed length binary string

casebash walkraft at
Thu Jun 11 11:29:45 CEST 2009

Sorry, I didn't quite make it clear. The issue isn't about limiting
the length (as I won't be using integers bigger than this). The
problem is that sometimes the output is shorter.

More information about the Python-list mailing list