Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
printing a bytes string
#3
actually, i think i am looking for .decode() since what i have to be printed is a bytearray (several of them). i'm thinking i need to make a printb() function to do it.
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 7,087 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,253 Nov-28-2022, 12:41 PM
Last Post: snippsat
  printing a string in reverse Skaperen 2 1,581 Nov-20-2021, 05:08 AM
Last Post: ghoul
  printing an string instead of a expression Underscore 2 1,850 Oct-11-2021, 03:10 PM
Last Post: deanhystad
  bytes f-string ? Skaperen 5 4,389 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,262 May-02-2021, 03:45 PM
Last Post: Anldra12
  Printing string at specific position on terminal - not showing __Mathieu__ 1 2,420 Sep-07-2020, 10:32 AM
Last Post: Larz60+
  how to do a bytes f-string? Skaperen 4 11,242 Jul-16-2020, 11:25 PM
Last Post: Skaperen
  Why, TypeError: expected string or bytes-like object ? JohnnyCoffee 3 18,668 May-08-2020, 04:26 AM
Last Post: bowlofred
  replace bytes with other byte or bytes BigOldArt 1 10,699 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