Twitter Updates
- @kennethreitz @alex_gaynor @pydanny you can get a 95% sol'n with flags to pip:--find-links & --index-url and a .sh to d/l your deps. 9 hours ago
- One of my favorite things is when big sites load without CSS. 10 hours ago
- Seems as though #Reddit is so tied to #imgur that when imgur goes down, reddit goes down too. Web architecture FAIL! 10 hours ago
- Bought new headphones. They sound so bad I'm left wondering if they intentionally crippled them to upsell more expensive models. 13 hours ago
- git bloodbath -f 4 days ago
Blogroll
- 914 electric conversion blog
- ALL ART BURNS
- Arcade Zen
- Brian’s Gallery
- Chili’s World
- Chocomonkey’s Blog
- Follow me on Quora!
- Follow me on Twitter!
- Google Blog
- Juan’s website
- Julia y Daniel
- Katja’s Blog
- Kulick’s blog
- Paul’s Time Sink
- Peter S. Conrad
- Sad Salvation
- Slacy’s Gallery
- Snake Surley
- Sprang’s Blog
- Super Karate Monkey Fist
- Third Time Dad
- Universe Hacking
- Valspark
- Zac’s Story
- Zeigen, Inc.
Tag Archives: summation
summing datetime.timedelta objects in Python
Argh! The following snippet is totally broken: import datetime times = [datetime.timedelta(hours=1), datetime.timedelta(minutes=30)] print sum(times) print min(times) print max(times) It raises “TypeError: unsupported operand type(s) for +: ‘int’ and ‘datetime.timedelta’” The thing is, I want this function to be able … Continue reading