i have one dictionary that contain keys. These keys are taxonomics levels but they are unsorted.
How can i sort this taxonomic levels by these order: domain, superkingdom, kingdom, phylum, class,order, family, genus, species?
for key in dtResult: print "\nPresenting results for: " + str(key).upper() for key2 in dtResult[key]: print "\t" + str(key2) + ": " +str(dtResult[key][key2])
that code give me what i want but not in the order that i specified before.
This post has been edited by macosxnerd101: 12 September 2012 - 08:45 AM
Reason for edit:: Fixed code tags