grafik formats
Robert Kern
kernr at mail.ncifcrf.gov
Thu Sep 2 19:00:18 EDT 1999
On Thu, 2 Sep 1999 15:20:08 -0700, "Robin Dunn" <robin at alldunn.com>
wrote:
[snip]
>Anyway, the presence of __init__.py simply turns a directory into a Python
>Package, and lets you do package type things with it, (like from
><package_name> import <module>.) See
>http://www.python.org/doc/essays/packages.html for more info.
>
>If I remember correctly, PIL is not organized as a package. So the PIL
>directory itself should be added to your PYTHONPATH either in the
>environment or in the registry. Then you can do "import Image" and "from
>JpegImagePlugin import *" directly in your code.
As of 1.0-final, it can be set up either way.
>--
>Robin Dunn
>Software Craftsman
>robin at AllDunn.com
>http://AllDunn.com/robin/
>http://AllDunn.com/wxPython/ Check it out!
Robert Kern |
----------------------|"In the fields of Hell where the grass grows high
This space | Are the graves of dreams allowed to die."
intentionally | - Richard Harter
left blank. |
More information about the Python-list
mailing list