How i can convert integer in to 'binary' in python

Posted by edtsech on Stack Overflow See other posts from Stack Overflow or by edtsech
Published on 2010-03-12T18:09:33Z Indexed on 2010/03/12 18:17 UTC
Read the original article Hit count: 275

Filed under:
|
|

In Ruby i do so

asd = 123
asd = '%b' % asd # => "1111011"

© Stack Overflow or respective owner

Related posts about python

Related posts about ruby