Frederic Rentsch: > Good idea, but shorter with -> > >>> SE.SE ('se_definition_files/int_to_binary.se') ('%X' % 987654321) > '00111010110111100110100010110001'
Note that your version keeps the leading zeros. Have you tested the relative speeds too? (I'll probably have to learn to use SE.) Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list