Class problem

Daniel Pryde dpryde+usenet at cis.strath.ac.uk
Mon Dec 8 19:50:52 CET 2003


Rene Pijlman wrote:

> Daniel Pryde:
> 
>>the code's on my home hard drive
> 
> 
> Never leave home without it :-)
> 
> 
>>import ImagePyramid
>>pyramid = ImagePyramid(parameters)
> 
> 
> Yes, that should be:
> 
> import ImagePyramid
> pyramid = ImagePyramid.ImagePyramid(parameters)
> 
> This is explained in section 6 "Modules" of the tutorial on
> http://www.python.org/doc/current/tut/node8.html
> 
Whoops! I got into trouble last time when I posted and found out that 
the answer was in the tutorial. I'll need to pay attention a bit more 
often. :-) Thanks for the help though.

Daniel





More information about the Python-list mailing list