Soak in warm bath. Hydrate well. Exercise -- handle with some resistance allowing snake to exert itself through your hands.
Maintain humid warm habitat. If in shed, do not handle.
Always provide fresh water. Keep snake warm. Do NOT use heat lamps for heat.
Constipation may be a sign of dehydration, among other things. Mites can seriously dehydrate a snake. Make sure no mites. Snake will spend lots of time in water bowl soaking if it has mites. Drowned mites will be obvious in the water bowl if this is the case.
These are rather generic suggestions. Many python people here would know more.
jsc
-----
"As hard as I've tried, just can't NOT do this"
John Crickmer