Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The 'b' Word
#2
If you have a string that you know is '0b...' or '0x...' how do you print just the '...' part? Look at slices.
Reply


Messages In This Thread
The 'b' Word - by Harshil - Aug-11-2020, 04:29 PM
RE: The 'b' Word - by deanhystad - Aug-11-2020, 05:12 PM
RE: The 'b' Word - by buran - Aug-11-2020, 05:34 PM
RE: The 'b' Word - by Harshil - Aug-12-2020, 08:39 AM
RE: The 'b' Word - by buran - Aug-12-2020, 08:41 AM
RE: The 'b' Word - by Harshil - Aug-12-2020, 03:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Problem: Check if a list contains a word and then continue with the next word Mangono 2 2,549 Aug-12-2021, 04:25 PM
Last Post: palladium
  Python Speech recognition, word by word AceScottie 6 16,071 Apr-12-2020, 09:50 AM
Last Post: vinayakdhage
  print a word after specific word search evilcode1 8 4,929 Oct-22-2019, 08:08 AM
Last Post: newbieAuggie2019
  difference between word: and word[:] in for loop zowhair 2 3,705 Mar-03-2018, 07:24 AM
Last Post: zowhair

Forum Jump:

User Panel Messages

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