zoukankan      html  css  js  c++  java
  • tkinter

    !/usr/bin/env python

    import Tkinter as tk
    class Application(tk.Tk):
    def init(self, master=None):
    tk.Tk.init(self, master)
    # super(self.class, self).init( master )
    self.title('test')
    self.grid()
    self.createWidgets()

    def createWidgets(self):
        self.quitButton = tk.Button(self, text='Quit', command=self.quit)
        self.quitButton.grid()
    

    app = Application()
    app.mainloop()

  • 相关阅读:
    腾讯安全上海游戏部门笔试题
    2017
    2016
    2015
    2014
    2013
    2012
    2011
    2010
    2009
  • 原文地址:https://www.cnblogs.com/jian-pan/p/6653985.html
Copyright © 2011-2022 走看看