Leave him alone and get him some nice tight hides and clutter up his enclosure. Making him feel safe is the first step to calming him done. Ball pythons are usually aggressive because they are trying to defend themselves from predators (you). Once they figure out that you aren't going to eat them they will calm down.