All the other ways are just guess work.Of head size,Body lenght,base if the tail girth'ect'ect.
4 100% ways are.
1/It has babys it's a female.
2/You find a sperm plug it's a male.
3/You see hemipenes it's a male.
4/If you see mating one on top male the one under female.
4/If you see mating one on top male the one under female.
And that one isn't guaranteed... you might have a dominant male and a subordinate or "feminised" male - or conversely a dominant "masculinised" female and a subordinate female.
Accidental or intentional same-sex mating isn't unknown in reptiles
__________________
- Ssthisto
"My bum has been a bum for a very long time, but that doesn't mean I have to listen to what it says."
- Terry Pratchett, Fifth Elephant