You might have just scared him a bit for the time being. Also make sure to check he's not getting ready to shed. Otherwise it might just be your pythons preference at the moment. My BP girl did that for two weeks straight and went right back to eating. They can go months without eating actually. Unless you notice any signs of sickness or dramatic weight lose I wouldn't stress it to much at this time.