miniblog.
← Back to all posts
Jan 25, 2011 at 17:58
#Python thought of the day: avoid concatenating lists, usually itertools.chain(list1, list2, ...) is neater and faster.
Wilfred Hughes
Related Posts
Nov 26, 2010 at 10:47
Python thought of the day: my_decorator = lambda decorator: lambda *args, **kwargs: lambda func: decorator(func, *args, **kwargs)
Wilfred Hughes
Shared words: Python, thought, day Score: 35.3
Sep 12, 2013 at 14:18
I've moved to smartparens for day-to-day scripting (Python etc). It's faster and smarter than anything else I've played with (autopair etc).
Wilfred Hughes
Shared words: Python, day, faster Score: 34.9
May 1, 2014 at 09:25
Python oneliner of the day: `x[:] = y` mutates x so it's the same as another list.
Wilfred Hughes
Shared words: Python, day, lists Score: 33.8