Living Code

Living Code is Dethe's blog for talking about code, life, and all the rest.

Black Lives Matter. Defund the police.


On the web: 

Dethe Elza • Apr 10, 2008 • Less than a minute read

Captain Ordinary

I want to create a new superhero.  Read →

Dethe Elza • Mar 31, 2008 • Less than a minute read

Saving PNG from PyGame

The latest version, 1.8, of PyGame can save PNGs directly from a Surface: pygame.Image.save(mySurface, 'myimagefile.png'). But what if you want to support an older version of PyGame, such as the one available for the N800 or the XO? Well, assuming you have access to the Python Image Library, you can use that:  Read →

Dethe Elza • Mar 31, 2008 • Less than a minute read

MetaProgramming at VanPyZ

Just a reminder for Pythonistas in the Vancouver area: The Vancouver Python and Zope user group (VanPyZ) is tomorrow (Tuesday, April 1). Paul Prescod will be talking about metaprogramming in Python. Details and directions are on the VanPyZ site. And, as usual, we’ll be heading out to the pub afterwards for more discussion. Hope to see you there!  Read →