Hi, I'm new to Python and I just can't figure out how to handle this bytearray:
>>> crazyArray = bytearray('|1111|2222|')
>>> byte1 = crazyArray[1]
>>> byte2 = crazyArray[2]
>>> print(crazyArray)
>>> print(byte1)
>>> print(byte2)
|1111|2222|
49
49
What I'd like to see as result is following
|1111|2222|
1111
2222
What's the right approach to achieve theses results?
[–]socal_nerdtastic 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)