The end result that I need is actually a string of these list items (“one=one, two=too, three=tree”). I know that I can easily join() a list of items, but if there is an easier way to directly convert the dictionary to a string, that would work too.
Again, I know neither the number of dictionary elements, nor the key names.
A solution that works in version 2.5 would be best…
It’s ordered slightly different than your version, and dictsort could help change the sort order, however just a note that python dictionaries in most python versions are unsorted.