import PIL.Image img = PIL.Image.open(open("someimage.png", "rb")) img.show()
No need for the extra open. Sorry... Skip -- http://mail.python.org/mailman/listinfo/python-list
import PIL.Image img = PIL.Image.open(open("someimage.png", "rb")) img.show()
No need for the extra open. Sorry... Skip -- http://mail.python.org/mailman/listinfo/python-list