Sorry no, I believe he was a magician, I believe he learned it in his time spent in Egypt. I think the bible is just saying he could do amazing things, they seemed to be miraculous. So eventually the story got embellished, I think of the Bible as story, not to be taken literally.