Mutiple texture UV in custom shader

Hi I’m trying custom shader by using a python and having multiple texture uv for an object. How can we access the second uv coordinates in Object Data/UV Maps? I tried using gl_MultiTexCoord1 but it seems like does not work. I’m following the tutorial from http://en.wikibooks.org/wiki/GLSL_Programming/Blender