How old is your snake? If it is a juvenile, it simply takes time to get them used to you. Force handling and over handling is not a respectable method to tame any reptile, let alone a ball python. Small handling sessions can get them less stressed around you but it takes time.
I also ask how old because unless it is a juvenile, a 10 gallon tank is really small for a ball python. If it is a new born or a juvenile (as in under a year old) then you might want to consider securing down the enclosure some more so it feels safe. That would be far more beneficial than taking it out while stressed and trying to get it to calm down.
Do you have any pictures of your setup?