On Thu, 23 Dec 2004 20:42:50 +0800, Juan Shen <[EMAIL PROTECTED]> wrote:
> I have found there are easy functions and options to do basic octal and
> hexadecimal number operation.
>
> oct(...)
> oct(number) -> string
>
> Return the octal representation of an integer or long integer.
>
> hex(...)
Googling in comp.lang.python for "convert binary" gives several solutions
including the ones in this
thread:
http://tinyurl.com/6dwom
Juan Shen wrote:
> I have found there are easy functions and options to do basic octal and
> hexadecimal number operation.
>
> oct(...)
> oct(number) -> string
>
Juan Shen wrote:
> Binary integer is extremely useful in my
> electronic-related job. So...I need help. Is there any function to
> transform between binary and decimal integers in python's library? If
> not, what's the solution to binary?
I can't speak for everyone, but most of the people I've met
I have found there are easy functions and options to do basic octal and
hexadecimal number operation.
oct(...)
oct(number) -> string
Return the octal representation of an integer or long integer.
hex(...)
hex(number) -> string
Return the hexadecimal representation of an integer or long integer.