Ball pythons being the are thick and robust snakes even at a young age making them sexable very early. It is likely your vet does not have much experience sexing snakes (most do not) as this is very generally true of many snake species (unable to sex when very young), but ball pythons are not one of them.
I might suggest looking at a few youtube videos. There are two reliable methods: (1) popping, and (2) probing. For a beginner, you can try popping, but it can be tricky. I suggest trying probing first. I use lubricated and straightened bobby pins as they can be found almost anywhere and are disposable.