I have a list of tuples with this form:
[('lo que sea','dfasdf','3'),
('lo quefgfdg sea','dfadsfgf','4'),....]
I need to save it in a file to read it later in other modules, the problem is that with a normal text file it won't work for me, since I don't see a way to read it later with the same tuple list format.
How could I do it?
You have several ways to serialize a list of tuples with the same number of items, taking into account only options included in standard Python, for example:
Use a csv:
ESCRITURA
LECTURA
use pickles
ESCRITURA
LECTURA
Use an SQLite3 database
ESCRITURA
LECTURA