Article 5CVBF Python issue

Python issue

by
maschelsea
from LinuxQuestions.org on (#5CVBF)
I realize that the title of this post sucks and is barely better than the Bad example at the left. Python is a beginner language. It was not MY beginner language. That might be why I have so many problems learning it. My mind tells me that I should be able to translate from BASIC to Python and vice versa. However, I have been unable to do this. I'm trying to follow a beginner video on Youtube where a guy is bulding a Pong clone in Python. I type in what he types in, but my display is very different from his. I noticed an error. Just below the program window.
Code:_tkinter.TclError: can't invoke "update" command: application has been destroyedNow, I don't know anything about tkinter or how anything on my Linux system works. I'm not curious like that. I'm just not. I think I remember reading in a book years ago about Tcl/TK. That's my only exposure to tkinter. I am, however, curious as to how to resolve this issue. I'll post the full error log below now.
Code:[Running] python -u "/home/michael/projects/python/pong/pong.py"
Traceback (most recent call last):
File "/home/michael/projects/python/pong/pong.py", line 16, in <module>
window.update()
File "/usr/lib64/python2.7/lib-tk/turtle.py", line 1254, in update
self._update()
File "/usr/lib64/python2.7/lib-tk/turtle.py", line 586, in _update
self.cv.update()
File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1029, in update
self.tk.call('update')
_tkinter.TclError: can't invoke "update" command: application has been destroyed

[Done] exited with code=1 in 2.99 secondslatest?d=yIl2AUoC8zA latest?i=q3RDD54zucA:PeCmFSdHmnI:F7zBnMy latest?i=q3RDD54zucA:PeCmFSdHmnI:V_sGLiP latest?d=qj6IDK7rITs latest?i=q3RDD54zucA:PeCmFSdHmnI:gIN9vFwq3RDD54zucA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments