Published November 10, 2014 ·
5 Minute Read ·
∞ Permalink
Sets are a valuable tool in any programmer’s toolbox. Finding unique items in a
list or shared items between two lists is super simple using sets. But did you
know they can be used for a considerable performance increase, in certain cases?
Published November 3, 2014 ·
4 Minute Read ·
∞ Permalink
I’m currently in the process of rewriting some of my everyday scripts to use
Click. It’s a joy to use, especially for scripts with subcommands,
because it has an API that’s well-thought-out but still fairly flexible. So
here’s a simple code pattern that I’ve been using for keeping configuration. It
should show you why I’m so enthusiastic about this library right now:
Published October 30, 2014 ·
1 Minute Read ·
∞ Permalink
A year ago yesterday I tweeted about how STL Python was at 94 members, so
close to 100. Those hundred members represented a big milestone for me: they
meant that STL Python was doing something that mattered. I was so excited that I
even offered a cookie to the 100th person who signed up and came to a meetup
(unfortunately nobody took me up on it!)
Published October 29, 2014 ·
1 Minute Read ·
∞ Permalink
Today, I’m announcing the launch of setattr: video training and group lessons
for Python programming. Right now it’s just a launch page, but I’m working hard
on creating videos and planning courses for the opening.
Published October 16, 2014 ·
2 Minute Read ·
∞ Permalink
So PEP 427 (wheel) has been accepted and implemented. It’s a
“built-in package format for python”:
A wheel is a ZIP-format archive with a specially formatted filename and the
.whl extension. It is designed to contain all the files for a PEP 376
compatible install in a way that is very close to the on-disk format. Many
packages will be properly installed with only the “Unpack” step (simply
extracting the file onto sys.path), and the unpacked archive preserves enough
information to “Spread” (copy data and scripts to their final locations) at
any later time. — wheel docs