Right, thanks everyone, that's a useful lesson learned. As I suspected I was being tripped over by some feature of Python I was unaware of. I had been looking up lists in the documentation, not functions, and could find no explanation.
Prbolem solved! -- -- http://mail.python.org/mailman/listinfo/python-list