Python Forum
Read bit by bit from a 128 bit number
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read bit by bit from a 128 bit number
#3
Thanks scidam for the response. Yes you are right if i add "0b" before the number then it works perfect.
but my number "10100010" passed to "get_bit" is of type "str" which is causing problem. Any suggestions for that.
Reply


Messages In This Thread
Read bit by bit from a 128 bit number - by vdhingra - Apr-15-2019, 11:48 PM
RE: Read bit by bit from a 128 bit number - by vdhingra - Apr-16-2019, 05:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read directory listing of files and parse out the highest number? cubangt 5 2,460 Sep-28-2022, 10:15 PM
Last Post: Larz60+
  csv.reader(): Limit the number of columns read in Windows Pedroski55 9 5,376 Jan-23-2021, 01:03 AM
Last Post: pjfarley3
  Can't read url when specifying more than a specific number of bytes deivid 3 3,142 Aug-13-2018, 02:24 PM
Last Post: deivid

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020