Current Path : /proc/3/task/3/root/proc/3/task/3/root/usr/lib64/python2.6/Demo/tkinter/guido/ |
Current File : //proc/3/task/3/root/proc/3/task/3/root/usr/lib64/python2.6/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()