Constraint and scale with python in 2.69

How can I limit (constraint) and scale an object using a script??