Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
printing a bytes string
#1
is there a quick and simple (one statement or one function/method call) to print a byte string (to stdout) without including the b' part?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
printing a bytes string - by Skaperen - Jul-20-2019, 11:18 PM
RE: printing a bytes string - by scidam - Jul-21-2019, 03:08 AM
RE: printing a bytes string - by Skaperen - Jul-21-2019, 03:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 6,870 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  Printing a raw string with a folder separator at the end, duplicates the separator krulah 5 1,228 Nov-28-2022, 12:41 PM
Last Post: snippsat
  printing a string in reverse Skaperen 2 1,564 Nov-20-2021, 05:08 AM
Last Post: ghoul
  printing an string instead of a expression Underscore 2 1,833 Oct-11-2021, 03:10 PM
Last Post: deanhystad
  bytes f-string ? Skaperen 5 4,341 Jun-10-2021, 10:21 PM
Last Post: Gribouillis
  TypeError: int() argument must be a string, a bytes-like object or a number, not 'Non Anldra12 2 5,231 May-02-2021, 03:45 PM
Last Post: Anldra12
  Printing string at specific position on terminal - not showing __Mathieu__ 1 2,394 Sep-07-2020, 10:32 AM
Last Post: Larz60+
  how to do a bytes f-string? Skaperen 4 11,146 Jul-16-2020, 11:25 PM
Last Post: Skaperen
  Why, TypeError: expected string or bytes-like object ? JohnnyCoffee 3 18,635 May-08-2020, 04:26 AM
Last Post: bowlofred
  replace bytes with other byte or bytes BigOldArt 1 10,656 Feb-02-2019, 11:00 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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