was there a movie based on the book?
Yes, "The Tale of Peter Rabbit"
The Tale of Peter Rabbit
In 1971, Peter Rabbit appeared as a character in the ballet film "The Tales of Beatrix Potter". In late 1991, HBO aired an animated musical adaptation of "The Tale of Peter Rabbit", narrated by Carol Burnett, as part of the network's "Storybook Musicals" series, which was later released to VHS by Family Home Entertainment under HBO licence. In 1992, the tale was adapted to animation again for the BBC anthology series, "The World of Peter Rabbit and Friends", along with "The Tale of Benjamin Bunny". In 2006, Peter Rabbit was heavily referenced in a biopic about Beatrix Potter entitled "Miss Potter". In December 2012, a new CGI-animated children's TV series titled "Peter Rabbit" premiered on Nickelodeon, with a full series run beginning in February 2013. Peter was voiced by Colin DePaula throughout Season 1 and recanted by L. Parker Lucas for Season 2 in the US version. In the U.K. version he is voiced by Connor Fitzgerald.
who put peter rabbit's father in a pie Mr. McGregor who is the writer? Beatrix Potter when was it released? 1901
wiki:308595
The Tale of Peter Rabbit [SEP] Adaptations
In 1938, shortly after the success of "Snow White and the Seven Dwarfs", Walt Disney became interested in making an animated film based on "The Tale of Peter Rabbit". However, in a letter to a friend, Potter wrote that she refused Walt Disney's "scheme to film Peter Rabbit", saying, "I am not very hopeful about the result. They propose to use cartoons; it seems that a succession of figures can be joggled together to give an impression of motion. I don't think the pictures would be satisfactory... I am not troubling myself about it!" In 1935, the story was loosely adapted in the "Merrie Melodies" short film, "Country Boy".