Question: who played the kid in charlie and the chocolate factory
Answer: In the 1971 film , Charlie was portrayed by Peter Ostrum , in his only film appearance .