Hi - the trick is consistency. I mostly feed mine in their cages to reduce time. I feed at the same time, same approach, and they rarely confuse feeding time with handling time.
If you only have the one to feed, however, I would suggest using a starmaid tub or similiar, with holds in it, and feeding your python in this. This way, he will never be confused and will quickly become used to the routine.
Do beware, however, of removing him from his tub when he has finished eating to put him back in his cage. If he is still focused on food, this is when he may leap out of his tub like a demented jack in the box in anticipation of more food!
Good luck
Vicki