Python Forum
remove b due to conversion in PyQ
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
remove b due to conversion in PyQ
#5
I see the problem here, I was getting AttibuteError: recarray has no attribute decode.

My output var is a list of numpy arrays, just to drill down the specific problem, I tried

x = b'thef45th'
print(x.decode('uft8'))
Output came as expected: thef45th
Even if I try to access with index position from my array, still ended up in same error.
Could you please help to by-pass the decode error for List of numpy arrays?
Reply


Messages In This Thread
remove b due to conversion in PyQ - by Creepy - Jul-15-2021, 08:14 PM
RE: remove b due to conversion in PyQ - by Creepy - Jul-16-2021, 04:57 PM
RE: remove b due to conversion in PyQ - by Creepy - Jul-16-2021, 07:19 PM
RE: remove b due to conversion in PyQ - by Creepy - Jul-20-2021, 06:54 PM
RE: remove b due to conversion in PyQ - by Creepy - Jul-21-2021, 05:57 PM

Forum Jump:

User Panel Messages

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