How to sort files by list elements by date modified, in Python?
I have a list something like the following:
[{'modified': 'Thu, 08 Aug 2013 18:28:13 +0000', 'path': '/test4.txt'},
{'modified': 'Thu, 06 Aug 2013 18:28:17 +0000', 'path': '/test5.txt'}
and so on. I want to sort the list by 'modified', in chronological (or
reverse chronological) order What is the best way of doing this?
No comments:
Post a Comment