I think there is some confusion on what exactly you are asking. If you are asking how to display an image then you load it as dbox showed and then use the surface.blit function (at least regarding pygame). If you are talking about actually creating pixel art, then this question isn't related to python at all. You create it just as you create any other art; with a paint type program (paintdotnet, graphics gale, photoshop).