Contrain a light to a camera?

Can anyone tell me what the script is for keeping a light permenantly on an object in the viewports,so if you rotate the object in the viewport the light is always on the object?

just use a constraint =/

no scripting needed

Thanks fess, but the thing is I can already do that, I just want to be a smart ass. I saw somewhere a simple line of script that does it all for you in a second, but I can’t seem to recall where I saw it?
Does anyone know what it is?