I have two lists named queries_fetcher_list and reftable_column_name.
Now I need to perform the operation of taking an element from a and b, and make it as a tuple with zip().
This is the query for doing that:
some_list = []
for i in range (len(reftable_column_name)):
    for row in queries_fetcher_list[i]:
        some_list.append(dict(zip(reftable_column_name[i], row)))
Now I need that result to be append like this:
[[{first element}], [{second element}]]
What I need to do now is every time when a zip operation is performed that element has to append as a separate list, i.e. list inside a list, like this:
a = [] 
a = [['one'], ['two'], ['three']]
- queries_fetcher_listcontains a list of data that are retrived from an MySQL query retrieved with- cursor.fetchall().
- reftable_column_nameis a list contains the column names of a table retrived with- cursor.description().
 
     
     
    