I want to import a sprite sheet and select one sprite. How would I do this in Python/pygame?
The above code posted by aquasheep is brilliant! Although in lines:
for i in range(0,sheet_rect.height-len_sprt_y,size[1]):#rows
for i in range(0,sheet_rect.width-len_sprt_x,size[0]):#columns
I had to remove -len_sprt_y and -len_sprt_x  it just would not load the last sprites on the x and y axis. It may vary depending on the sprite sheet x, y size and the actual sprite size too.
How do you select a sprite image from a sprite sheet in Python?