Manipulating normals

Hi everybody,

I need to manipulate vertex normals in Python as the Blender provided methods (recalulate and flip) do not serve my purpose.

I was somewhat successful in adjusting the normal, but as soon as I switch from edit mode to object mode and back the normal is back as it was before adjustment. Is there some way I can prevent this?