Sorry for my english
I have a list like:
[['string type','short int type','long int type','string type','float'],
['Stackoverflow','32','0','any stringgg','55.0'],
['anystring','16','1654657987984','striiingg','2.5']]
I call:
['string type','short int type','long int type','string type','float']
is the first sub-list and
['Stackoverflow','32','0','any stringgg','55.0']
is the second sub-list, same for the three sub-list
How can I use struct.pack() data in the second & third sub-lists based on the type of the first sub-list?