代码搜索:tkinter
找到约 422 项符合「tkinter」的源代码
代码结果 422
www.eeworm.com/read/379729/9180091
py bbvis.py
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
#
# This file is a part of the Bayes Blocks library
#
# Copyright (C) 2001-2006 Markus Harva, Antti Honkela, Alexander
# Ilin, Tapani Raiko, Harri V
www.eeworm.com/read/100127/6274064
py wish.py
# This is about all it requires to write a wish shell in Python!
import _tkinter
import os
tk = _tkinter.create(os.environ['DISPLAY'], 'wish', 'Tk', 1)
tk.call('update')
cmd = ''
while 1:
if cmd:
www.eeworm.com/read/100127/6274066
py 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()
ma
www.eeworm.com/read/100127/6274022
py 00-hello-world.py
from Tkinter import *
# note that there is no explicit call to start Tk.
# Tkinter is smart enough to start the system if it's not already going.
class Test(Frame):
def printit(self):
print "