title: Image to ASCII in python using a PPM file. PIL not allowed
body: <p>Needing a little help/direction with a project. Our task is to take in a .ppm file (the one we are required to test with is found here: <a href="http://beastie.cs.ua.edu/cs250/projects/asciiart/tux.ppm" rel="nofollow">http://beastie.cs.ua.edu/cs250/projects/asciiart/tux.ppm</a>) and reprint it out on the screen using ascii characters. We are required to convert the pixels to greyscale. This is really where I am stuck. Cannot figure out how to read in every three elements (because every three is a pixel in PPM files), convert them to greyscale and move on. Again PIL is not allowed. Any help or links on what to read up on would be awesome!</p>