home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pyos2bin.zip
/
Demo
/
tkinter
/
guido
/
imageview.py
< prev
next >
Wrap
Text File
|
1995-09-07
|
205b
|
13 lines
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()