Hi terry,
I am so happy to mention that your suggestion worked! I moved the file from
Tkinter to Lib and I am suddenly able to import the file.
Thanks you so much @Bob, @Arjun, @Cameron for your suggestions. I can finally
move forward. I hope to contribute to this community in future after gain
Hello Dennis,
Sorry for my copy-paste error and thanks for highlighting the same. I will make
sure that from next time I will maintain the line breaks.
I tried opening it in CMD and it did open with the skewed triangle figure
although I am still not able to use it in my IDLE environment. Unfortu
On 8/2/2020 2:36 AM, Sarvesh Poddar via Python-list wrote:
[I downloaded]
https://mcsp.wartburg.edu/zelle/python/graphics.py)
I have unmangled the traceback and added explanations.
Traceback (most recent call last):
File "", line 1, in
import graphics
You typed this in IDLE Shell in r
Do you have tkinter installed? The graphics.py module needs it to run.
On Sat, Aug 1, 2020 at 11:36 PM Sarvesh Poddar via Python-list <
python-list@python.org> wrote:
> Hi,
> I am currently using Python 3.8.5 with IDLE environment that comes
> pre-installed with the Python application. I am usin
Diverting replies to tu...@python.org, a better place for all this.
It looks like the error is in graphics.py, not in your file.
Your line:
from graphics import *
is syntacticly correct. Something has mangled the line breaks in your
traceback, which here appears as:
When I write a diff
Hi,
I am currently using Python 3.8.5 with IDLE environment that comes
pre-installed with the Python application. I am using the book "An Introduction
to computer science" by John Zelle as my reference.
The problem I am facing is "There is a python program named "graphics.py" that
is used as re