Forest department officials in India promised strict action after a python attacked a man when a group was trying to click a photo with it.