Class problem

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Mon Dec 8 19:15:55 CET 2003


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

-- 
René Pijlman




More information about the Python-list mailing list