Suggested datatype for getting latest information from log files

jmp jeanmichel at sequans.com
Thu Feb 11 13:16:07 EST 2016


On 02/11/2016 07:07 PM, ltomassmail at gmail.com wrote:
> I thought a dictionary would be a good idea because of the key restrictions ensuring no duplicates, so the data would always update - However because they are unordered and I need to do some more processing on the data afterwards I'm having trouble.

If it's your only concern about using dictionaries, then you may have a 
look  at 
https://docs.python.org/2/library/collections.html#collections.OrderedDict

JM








More information about the Python-list mailing list