Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/src/cmd/python/Demo/tkinter/guido/imageview.py
from Tkinter import * import sys def main(): filename = sys.argv[1] root = Tk() img = PhotoImage(file=filename) label = Label(root, image=img) label.pack() root.mainloop() main()