Temperment is certainly genetic, heck it is genetic in humans. Now the genes aren't the be-all-end-all determination of how an animal may behave or feel, it certainly is a factor.

As to how much you can "breed for temperment" in ball pythons before you actually start seeing results...