exporting splines/paths

Hi y’all,
I’m after a script that allows basic exporting of point positions from meshes and spline paths. I’m talking any basic ascii format - something human readable. Hook a brother up?
Chars.