Answer the question
In order to leave comments, you need to log in
A function in Python returns a string, how to convert to an array?
Good afternoon, I just started learning Python, I can’t figure something out.
There is a conditional decode function. When I output the result of the print(decode("1.png')) function, I get this line:
[Decoded(data=b'test message 3', rect=Rect(left=57, top=33, width=89, height= 89)), Decoded(data=b'test message 1', rect=Rect(left=299, top=52, width=81, height=81)), Decoded(data=b'test message 4', rect= Rect(left=57, top=236, width=89, height=89)), Decoded(data=b'test message 2', rect=Rect(left=350, top=239, width=87, height=87 ))]
How can I access a specific element from data= values, or from top= values?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question