Re: converting to a binary number?

2006-03-24 Thread [EMAIL PROTECTED]
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

Re: converting to a binary number?

2006-03-24 Thread astyonax
that's great! I will try! :-)) -- http://mail.python.org/mailman/listinfo/python-list

Re: converting to a binary number?

2006-03-24 Thread Kent Johnson
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 --

Re: converting to a binary number?

2006-03-24 Thread John Salerno
[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! --