Blender and exporting texture coordinates?

Has anyone using Blender had success exporting texture coordinates using Python scripting?

I’ve been able to export vertices, faces, and material color, but texture has alluded me. I’ve tried this with Blender version 2.23 on three different platforms Win98, Win2000 and Redhat Linux 7.2, all with the same results.

Many thanks for any help!