python interpreter doesn't display tkinter canvas -
here problem: code book doesn't seem work when run part of script file. nothing executes: no errors, no canvas. after waits me something, command line supposed behave normally. if print test line @ end of script prints should. however, code work when feed python line line. copy-paste style.
code:
from tkinter import * tk = tk() canvas = canvas(tk, width=500, height=500) canvas.pack() my working environment: win 8.1, win 10, powershell, cmd, python 3.5.1
Comments
Post a Comment