Topic

Python

8 articles spanning 2006–2026

Simulating Blackjack the Hard Way

Building a 28,000-line Python blackjack simulator with event-driven architecture, immutable state, and realistic shuffle physics to understand casino math.

Understanding Monkey Patching

What monkey patching is, how it works in Python and Ruby, and why the two communities think about it so differently.

Cyclomatic complexity of Django

Exploring cyclomatic complexity metrics in Django, the Python web framework, and why software engineering measurements are rarely applied to open source projects.

TurboGears API Goes 1.0

TurboGears API reaches 1.0 stability with no breaking changes ahead. A milestone for Python web development alongside Django's maturity.

The Zen of Python

Exploring Python's core philosophy and design principles from PEP 20, a guide to writing beautiful and readable code.

Waiting For Python Web Frameworks

Exploring Django and Turbogears for web development, weighing their strengths and considering Ruby on Rails as an alternative to traditional PHP.

Dynamic Languages on the JVM

Exploring the potential of running dynamic languages like Python, Ruby, and Perl on the JVM, and why Sun should open-source it.