This year is the year I teach myself to write code, and there have never been more resources available to humanists interested in doing so. At this moment, I would like to point out two interactive approaches as well as two more thoughtful approaches designed especially for historians (who, as always, seem better at producing these kinds of texts than other humanists):
In the same ProfHacker article linked above, Ryan Cordell points to another resources for learning Ruby (for humanists): [The Rubyist Historian][rh] by Jason Heppler. (Unfortunately, at this moment, that portion of his site appears to be down.) There is also the terrific book [The Programming Historian][ph], which offers instruction in various ways to work in [Python].