Sorry for the late reply. I didn't check the group/list over the weekend. Anyway, I added a print rec[0] just after the fetchone. Then I ran it from the command line, and it spewed a bunch of binary gibberish nearly locking up Putty.
To me, it seems like it's coming out in the right format, but I'm not sure what I'm doing wrong. If you have any ideas, I'd really appreciate it. Thanks, Mike -- http://mail.python.org/mailman/listinfo/python-list