import os, urllib, viewimage RADAR_URL = "http://sirocco.accuweather.com/nxss_R1_640x480d/R1/inxR1kptks.gif" mappic = urllib.urlretrieve( RADAR_URL,"delete-me.gif") urllib.urlcleanup() viewimage.viewimage("delete-me.gif") os.remove("delete-me.gif") def viewimage(filename): root = Tk() root.title("View Image") frame = Frame(root,colormap="new",visual='truecolor').pack() imagedata = ImageTk.PhotoImage(data=imagestring) label = Label(frame,image=imagedata).pack() quitbutton = Button(root,text="Quit",command=root.destroy).pack(fill=X) root.mainloop() RADAR_URL = "http://sirocco.accuweather.com/nxss_R1_640x480d/R1/inxR1kptks.gif" mappic = urllib.urlopen(RADAR_URL) mapstring = mappic.read() urllib.urlcleanup() viewimage(mapstring)