they hide their head and ball up if a predator comes? how does that help them in the wild ? wouldnt a predator such as a hawk just start eating the python and ripping it up while its in a ball?

The whole putting itself in a ball method just sounds like its serving itself as dinner to whoever wants to eat it