Python Articles, Tutorials & News

I patched Python to include this great Ruby feature

Ruby, unlike Python, makes lots of things implicit, and there’s a special kind of if expression that demonstrates this well. It’s often referred to as an “inline-if” or “conditional modifier”, and this special syntax is able to return one value when a con…

Read more »

Todo or Die – Python Edition

Python decorator for `TODO`s. Inspired by https://github.com/davidpdrsn/todo-or-die and https://github.com/searls/todo_or_die – GitHub – achedeuzot/py-todo-or-die: Python decorator for `TODO`s. Ins…

Read more »