Re: Import graphics error

2016-04-05 Thread Steven D'Aprano
Since Dennis has X-No-Archive set on his posts, his very useful answer to Nicolae will be lost in a matter of days. So I'm going to repeat it. Nicolae, Dennis found the fix is to change the example code. Read the documentation here: http://mcsp.wartburg.edu/zelle/python/graphics/graphics.pdf

Re: Import graphics error

2016-04-05 Thread Steven D'Aprano
On Wed, 6 Apr 2016 06:05 am, Thomas 'PointedEars' Lahn wrote: > | >>> from email import ID10T > | Traceback (most recent call last): > | File "", line 1, in > | ImportError: cannot import name 'ID10T' > > Why oh why can't somebody write "H

Re: Import graphics error

2016-04-05 Thread Ned Batchelder
On Tuesday, April 5, 2016 at 4:06:02 PM UTC-4, Thomas 'PointedEars' Lahn wrote: > | >>> from email import ID10T > | Traceback (most recent call last): > | File "", line 1, in > | ImportError: cannot import name 'ID10T' This is uncalled for. You don't have to participate in this thread if you d

Re: Import graphics error

2016-04-05 Thread Michael Selik
> On Apr 5, 2016, at 5:17 PM, Nicolae Morkov wrote: > > I copied the code from Python from everyone page 67. > Following the instructions The graphic modules by John Zelle I copied into > the python lacation ,to be easier to find the path . Please be more specific. What is the python

Re: Import graphics error

2016-04-05 Thread Thomas 'PointedEars' Lahn
Nicolae Morkov wrote: > […] > *Following the instructions I copied The graphic modules by John Zelle in > Python folder in Lib folder * > **And when I installed graphic library the error was :* * > > Traceback (most recent call last): > File > "C:/Users/Nicolae/AppData/Local/Programs/Python/Pytho

Re: Import graphics error

2016-04-05 Thread Nicolae Morkov
I copied the code from Python from everyone page 67. Following the instructions The graphic modules by John Zelle I copied into the python lacation ,to be easier to find the path . On Tue, Apr 5, 2016 at 11:19 AM, Nicolae Morkov wrote: > # This program creates a graphics window with a

Re: Import graphics error

2016-04-05 Thread Steven D'Aprano
On Tue, 5 Apr 2016 08:19 pm, Nicolae Morkov wrote: > # This program creates a graphics window with a rectangle. It provides the > 3 # template used with all of the graphical programs used in the book. What book? > *This is the error I get* > > Traceback (most recent call last): > File > "C