How long have you had this snake? I believe she most likely had them already when she came to you. Snakes are stoic & not everyone is an observant keeper- children can easily pass along pinworms to pets or vice versa, & snakes can have worms for a long time if no one is paying any attention or thinks that the minor symptoms are "normal".
By the way, just to be clear, when I said "not everyone is an observant keeper", I wasn't referring to you- I meant whomever you got this snake from.
Rudeness is the weak man's imitation of strength. Eric Hoffer(1902 - 1983)
“The greatness of a nation and its moral progress can be judged by the way its animals are treated.” ~ Gandhi