1310 Résultats pour

Python Tkinter Examples

Format txt - Page 1/20 (Temps écoulé: 0.0032)



1 Sebsauvage.net
#!/usr/bin/python # -*- coding: iso-8859-1 -*- import Tkinter class simpleapp_tk(Tkinter.Tk): def __init__(self,parent): Tkinter.Tk.__init__(self,parent) self.parent ...



2 Usingpython.com
timeLabel.after(1000, countdown) #create a GUI window. root = tkinter.Tk() #set the title. root.title("TTCANTW") #set the size. root.geometry("375x200") #add an instructions label. instructions = tkinter.Label(root, text="Type in the colour of the words, and not the word text!", font=('Helvetica', 12)) instructions.pack() #add a score label. scoreLabel = tkinter.Label(root, text="Press enter ...



3 Spider.wadsworth.org
#!/usr/bin/env python # # A simple SPIDER image viewer. # Image (Python Imaging Library) used to convert SPIDER image, # Tkinter used for display.



4 Openbookproject.net
# t k P h o n e . p y # from Tkinter import * from phones import * def whichSelected : print "At %s of %d" % (select.curselection(), len(phonelist)) return int(select ...



5 Matplotlib.org
import matplotlib matplotlib.use('TkAgg') from numpy import arange, sin, pi from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg # implement the default mpl key bindings from matplotlib.backend_bases import key_press_handler from matplotlib.figure import Figure import sys if sys.version_info[0] 3: import Tkinter as Tk else: import tkinter as Tk root = Tk.Tk ...



6 Usingpython.com
#----- # Conway's Game of Life # More programs at UsingPython.com/programs #----- import random import time import os #----- def initGrid(cols, rows, array): for i in ...



7 Svn.python.org
# # turtle.py: a Tkinter based turtle graphics module for Python # Version 1.0.1 - 24. 9. 2009 # # Copyright (C) 2006 - 2010 Gregor Lingl # email: glingl@aon.at ...



8 Www.deborahrfowler.com
# Example for VSFX 705 - adapted from # From http://home.foni.net/~heikos/data/tkinter.pdf # added window sizing # Rosette import turtle from turtle import * def part ...

Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20