[Image-SIG] Re: Question about ImageDraw.Draw function

Fredrik Lundh fredrik at pythonware.com
Wed Aug 27 15:29:25 EDT 2003


Mark Shure wrote:

> I'm a relative newcomer to Python and PIL, but I've been using
> it successfully for several months. I was stumped by the error I
> got when I tried using the ImageDraw.Draw(im) function. Here
> is what I see when I run example code straight out of the PIL
> 1.1.3 Overview document:

> AttributeError: 'module' object has no attribute 'draw'

> I'm using Python 2.2.1 under Win2k with PIL 1.1.4 (binaries installed
> using "PIL-1.1.4.win32-py2.2.exe").

try this:

    >>> import Image
    >>> Image.core
    ...
    >>> dir(Image.core)
    ...

and let us know what it prints.

</F>






More information about the Image-SIG mailing list