How do I add a list of dictionaries to another list of dictionaries?
I'm using a for loop to add a dictionary to a list of dictionaries (which I'm calling data_file), using data_file.append()

It works fine :) But then later I try to add some more dictionaries to data_file in another for loop and I use data_file.append() again and it doesn't work. It doesn't add those dictionaries to data_file

Does anyone know what I'm doing wrong?

Any help would be much appreciated please!

Thanks
How do I add a list of dictionaries to another list of dictionaries?
===

I'm using a for loop to add a dictionary to a list of dictionaries (which I'm calling data_file), using data_file.append()

It works fine :) But then later I try to add some more dictionaries to data_file in another for loop and I use data_file.append() again and it doesn't work. It doesn't add those dictionaries to data_file

Does anyone know what I'm doing wrong?

Any help would be much appreciated please!

Thanks