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. -- http://mail.python.org/mailman/listinfo/python-list
- Re: Convert integer to fixed length binary string Ulrich Eckhardt
- Re: Convert integer to fixed length binary string casebash
- Re: Convert integer to fixed length binary string casebash