Writing the 7th item of an array, each time into a different variable?

Hi All,

Not being a ‘real’ programmer I need a little help here.

I need to write the 7th item of an array, each time, into a different variable. The tag Desc_1 being the first of 7.[ Desc(ription)_1, Desc(ription)_2, Desc(ription)_3… 9
I have 9 arrays (lines or records) that get written to a CSV file out of which I read the data.

What Im trying to do is to take the 7th item in each line/record (array) and insert it into different variables, one after the other.

If you can look at my block and advise, I would be very appreciative.


See below ,


Thanks for that but as I anticipate, the ONLY value I will be left with is the LAST VALUE in all the tags

I don’t think my code will fill each variable with its own unique number.

What I’m saying is that I need the 7th item of each array to be written into the NEXT TAG.


Perhaps I need to send you a pic of my screen. Hang on.

1 Like

Can you provide a small example

Here in my example it saves the 7th item for example a,b,c,d,e,f,g,h,i,j and saves a to desc_1, b to desc_2 …etc

Then every label gets text from tinydb

1 Like

Ah, Thank you very much. I now know it can be done. Now to get it to work this end. Thanks again. Much appreciate all your effort to help. :slight_smile:

1 Like