何もないウィンドウ

2017/12/28

Python2.7.8

import Tkinter

window = Tkinter.Tk()
window.mainloop()


# -*- coding: utf-8 -*-

import Tkinter

class Window(Tkinter.Tk):
    def __init__(self):
        Tkinter.Tk.__init__(self)

def main():
    w = Window()
    w.mainloop()

if __name__ == '__main__':
    main()