import crayon import random import url if ( __name__ == '__main__' ) : URL_FOLDER = 'http://www.cs.virginia.edu/~cs1112/images/coloring-book/' names = [ 'trex.png', 'girl-and-dog.png', 'mandala.png', 'flower.png' ] for name in names : link = URL_FOLDER + name random.seed( name ) page = url.get_image( link ) url.scrub( page ) crayon.sweep( page ) page.show()