N
N
Nubbin2018-03-05 10:43:55
Python
Nubbin, 2018-03-05 10:43:55

Python array work?

Good morning.
Is it possible to work with arrays in this way

for item in  read:
            item.encode('UTF-8')
            data = item.split('-')
            self.__data[data[0]] = data[1]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Astrohas, 2018-03-05
@Nubbin

class Name:
   __data = dict()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question