Category Archives: python

Sat 12 Jun 2004

bingo: Zana and I have been playing Wind Waker again for the last couple of weeks. We have been trying to get every single item in the game, and are tantalizingly close. We have believe we have done everything except take a picture of Puppet Gannon. Unfortunately, we can’t think of any way to get […]

Tue 08 Jun 2004

python: In python, os.path.join has a somewhat unexpected behavior. For example: os.path.join (‘/tmp’, ‘foo’) => ‘/tmp/foo’ os.path.join (‘/tmp’, ‘/foo’) => ‘/foo’ Consider the following example code: os.system (‘rm -rf ‘ + os.path.join (chroot_path, ‘/dev’)) Eek. python (update): A better way to do this is to do: os.path.normpath (chroot_path + os.path.sep + subpath)

Wed 01 Oct 2003

Bookworm: Did a lot more work on this tonight. Found a tricky little bug in Library.py that I have now fixed. I feel like I could have done a nicer job of the overall design in places, but I’m pretty happy with how the code is looking. I got it so that adding a new […]