Sentence:  Mr. Foy is a joy , having learned his dancing by <WSD>practicing</WSD> it until he is practically perfect . 
Meaning of the word marked with <WSD> tags:  engage in a rehearsal (of)