imdb examples for python