Apr-13-2020, 09:06 PM
I have a list of tuples that I don't know the length of (I selected it from a sqlite3 database table).
how can I send this list from the server to a client using sockets so that the client could access the values of the list and the tuples and use them? All tuples contain 4 string values.
data = [("cooking","josh", "recepie", "cookies") ,
("fashion", "jessica", "shopping", "dresses"),
("sport", "jake", "basketball", "kobe bryant")]
how can i send this 'data' list of tuples from the server socket to the client socket so that he could access its values?
I'd really appreciate it if you could help me !
how can I send this list from the server to a client using sockets so that the client could access the values of the list and the tuples and use them? All tuples contain 4 string values.
data = [("cooking","josh", "recepie", "cookies") ,
("fashion", "jessica", "shopping", "dresses"),
("sport", "jake", "basketball", "kobe bryant")]
how can i send this 'data' list of tuples from the server socket to the client socket so that he could access its values?
I'd really appreciate it if you could help me !
