How can I create an array/list of dictionaries in python? February 17, 2023 by Tarik This is how I did it and it works: dictlist = [dict() for x in range(n)] It gives you a list of n empty dictionaries.