from Tkinter import * canvas = Canvas(bg = '#000000', width=640, height=480) canvas.pack(expand=YES, fill=BOTH) canvas.create_line(0, 0, 320, 200, fill = '#fff') canvas.create_text(200,200,fill = '#fff', text = "hello") mainloop()
from Tkinter import * canvas = Canvas(bg = '#000000', width=640, height=480) canvas.pack(expand=YES, fill=BOTH) canvas.create_line(0, 0, 320, 200, fill = '#fff') canvas.create_text(200,200,fill = '#fff', text = "hello") mainloop()
Comments are closed.