<html><head><meta http-equiv=Content-Type content="text/html; charset=windows-1250"><META name="Author" content="Novell GroupWise WebAccess"></head><body style='font-family: Tahoma, sans-serif; font-size: 13px; '>Nevermind,<br>got it.<br><br>Sorry.<br><br>>>> Krishna Pacifici 08/11/09 2:12 PM >>><br>
Hi,<br>I want to append the values of a dictionary to a list.  I have a dictionary sec_dict_clean and I want to append the values to a list, but am having a hard time looping through the values in the dictionary.<br><br>I have tried something like this:<br>lista=[]<br>for i in sec_dict_clean.values():<br>    for j in sec_dict_clean.values()[i]:<br>        lista.append(sec_dict_clean.values()[i])<br><br>But I keep on getting an error:<br>TypeError: list indices must be integers<br><br>Any ideas on how to loop through values in a dictionary?<br><br>Thanks,<br>Krishna<br><pacificik@warnell.uga.edu></pacificik@warnell.uga.edu></body></html>