Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Binary numbers

    0 answers - 567 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi !
    How to work with binary numbers in python ? Is there a way to print a number
    in its binary form like we do with oct() or hex() ?
    Im doing a project that i have to work with binaries and i tired of convert
    numbers to string all the time to perform some operations.
    I searched about it in many places like python.org and google, but not found
    anything useful.
    Thats why im asking this.
    And another question if python has not a way to do this, why i let me use
    oct(), hex() and not bin() ?
    Thanks for the help !

Re: Binary numbers


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Development"

EMSDN.COM