from sprites import Sprite images = ['res/cat1.png','res/cat2.png', 'res/bat1.png','res/bat2.png'] j = Sprite(shape=images) j.randomshape() j.screen.mainloop()