Converting hex to int in python,ord('\xff')