Ball pythons are not aggressive so they cannot be "trained" to be aggressive by feeding them in their enclosure. If the only reason you open their tank/tub is to feed them, yes they are going to be to eat and prepared to strike anything warm...what do you expect? But that's still not aggression, that's a feeding response.