[ad_1]
The output that you seem to want can be obtained with :
[{"projectname" : key} for key in list1]
1
[ad_2]
solved convert the python list to the dictionary with the same key but with different values
[ad_1]
The output that you seem to want can be obtained with :
[{"projectname" : key} for key in list1]
1
[ad_2]
solved convert the python list to the dictionary with the same key but with different values