yes, here's a quote from pythons of the world vol.2 page 242 david g barker and tracy m. barker
"we believe that water leaves an egg during the last weeks of incubation because of the internal heat generated by it's rapidly developing fetus. the egg becomes slightly warmer than the surroundings and that, in turn, causes a directional osmosis that pulls water out of the shell.
this book has tons of information in it about ball pythons. highly recommended by many!