Re: [Tutor] Help with graphics please

2012-04-24 Thread Steven D'Aprano
On Tue, Apr 24, 2012 at 03:57:58PM +0800, Ivor Surveyor wrote:
> 
> I request help in locating the graphics module "graphics.py"

Have you tried searching for "Python programming by John Zelle 
graphics.py" on any of the major search engines, like Google, Yahoo or 
DuckDuckGo? That should always be your first stop for any question.

I believe that this will give you the file you are after:

http://mcsp.wartburg.edu/zelle/python/


> the command "import graphics" elicits the response module unknown.

No it doesn't.

If you're going to learn programming, you will need to be pedantic about 
reporting the *precise* error messages you get, and not paraphrase them. 
The error message you get is almost certainly something like this:

Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named graphics

(although the middle line is probably different).

Now in this case I knew what you meant, it wasn't terribly difficult to 
work that out. But believe me, there are people who come here, or on 
other mailing lists and help forums, and give utterly undecipherable, 
incomplete, or even incorrect error messages, and thus send us on a wild 
goose chase trying to solve a problem that doesn't exist.

Good luck and have fun!



-- 
Steven

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Help with graphics please

2012-04-24 Thread Ivor Surveyor


I request help in locating the graphics module "graphics.py"

I am new to both programming and Python.  I have successfully down 
loaded Python 2.7.2 and WingIde 101 4.1.   I am using Windows 7 as my 
operating system.


I am reading Python programming by John Zelle supplemented by MIT 
lectures on computing science.


I have reached the chapter on "Objects and Graphics."   my problem is 
that I can not locate either the graphics module or graphics.py.


the command "import graphics" elicits the response module unknown.

I would be very appreciative of help in locating the file on the 
Internet.  Naturally I will be pleased to purchase the file if necessary.


regards,



Ivor Surveyor
isurve...@vianet.net.au 


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor