python-code-disasters icon indicating copy to clipboard operation
python-code-disasters copied to clipboard

import datetime as date; [print(i) for i in sorted([i.rstrip() for i in lines.splitlines() if i and i[0]=='['],key=lambda x: date.datetime.strptime(x[-9:-1], "%b %Y"), reverse=True)]

Open Em-Lopez opened this issue 6 years ago • 2 comments

Just a little script that I wrote it takes a list :) Expect more!

Em-Lopez avatar Oct 28 '18 06:10 Em-Lopez

@Em-Lopez can you please explain why did you wrote this script and for what purpose?

sobolevn avatar Oct 28 '18 07:10 sobolevn

You can also send a PR with this code directly to the codebase! 🙂

sobolevn avatar Oct 28 '18 07:10 sobolevn