Hallo. The page in question is
http://pythonhosted.org/pypng/ex.html#a-little-message and the "a little message" section.
I was having problems following the example, in that pasting into python3.3 on OS X gives an error.
After pasting in the line:
w = png.Writer(len(s[0]), len(s), greyscale=True, bitdepth=1)
I get the error:
TypeError: 'map' object is not subscriptable
I got it to work by renaming the output of the map() function to s2 then using that in the Writer() method.
Just wondering if it is due to my version of Python or if the documentation is at fault. I'm a beginner so this was pretty confusing for me.
Thanks in advance!