from PIL import Image import util tj = 'http://www.cs.virginia.edu/~cs1112/images/tj.png' image = util.get_web_image( tj ) image.show()