Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1264

Python • Re: Showing list contents in thonny

$
0
0
That is because you are checking the content of a list object. To have a closer look you could assign one of the elements to another variable, and check that. Add this to your code:

Code:

product = productlist[0]
Then select the variable "product" and you will see its content in 'attributes'

Statistics: Posted by kheylen25 — Sun Mar 23, 2025 6:35 pm



Viewing all articles
Browse latest Browse all 1264

Trending Articles