キャンバス

2017/12/31

Python2.7.8

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

import Tkinter

def main():

    window = Tkinter.Tk()
    canvas = Tkinter.Canvas(window, bg = "white",
                            width = 300, height = 200)
    canvas.pack()
    window.mainloop()

if __name__ == '__main__':
    main()