No, you cannot sex a ball python just by looking at them. The only way to do it is to pop or probe. Something something size of the spurs but it's not terribly accurate. Females tend to have smaller spurs and males tend to have larger spurs, but 'small' and 'large' are relative and females can have spurs as large as a male's or vice versa.