Converting an integer base 10 to a binary number
Peter Stöhr
peter.stoehr at fh-hof.de
Wed Mar 28 08:35:20 EST 2001
Hi out there,
I know the int(x[,radix]) function that converts a string or a number
(for a give radix) to an integer. Is there a built-in function that
provides a conversion the other way round?
Something like
bin(32) = "10000"
Thanks in advance
Peter
--
Fachhochschule Hof
Prof. Dr. Peter Stöhr Tel: 09281 - 409 485
Alfons-Goppel-Platz 1 Fax: 09281 - 409 477
95028 Hof / Germany
More information about the Python-list
mailing list