John Salerno wrote:
I'm having some trouble finding a function that converts numbers
(whether integer, hex, whatever) to its binary representation. Is there one?
Thanks.
Get the Gnu Multiple Precision library for Python module (Google GMPY).
import gmpy
help(gmpy.digits)
Help on built-in
that's great! I will try! :-))
--
http://mail.python.org/mailman/listinfo/python-list
John Salerno wrote:
I'm having some trouble finding a function that converts numbers
(whether integer, hex, whatever) to its binary representation. Is there one?
You might like this recipe:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/111286
Kent
--
[EMAIL PROTECTED] wrote:
John Salerno wrote:
I'm having some trouble finding a function that converts numbers
(whether integer, hex, whatever) to its binary representation. Is there one?
Thanks.
Get the Gnu Multiple Precision library for Python module (Google GMPY).
Thanks!
--