Well, I have my lionhead bunny in my snake room. Since my snakes (two ball pythons and a dumeril's boa) don't eat rabbits for their usual meals, I don't think they recognize the scent as food. I handle my bunny and then handle my dumeril's boa right after. They don't really give a crap.
In your case though, the only reason a ball python (much too small to eat a rabbit) would strike at a bunny is if the bunny's movements scare it. You really don't have to worry about a ball python thinking a rabbit is food...