[Pythonmac-SIG] Py2app PIL recipe

Ronald Oussoren ronaldoussoren at mac.com
Tue Nov 24 20:44:49 CET 2009


On 24 Nov, 2009, at 20:27, Bill Janssen wrote:

> Ronald Oussoren <ronaldoussoren at mac.com> wrote:
> 
>> I don't know, I don't even know which name is the preferred one. The
>> PIL Handbook
>> (<http://www.pythonware.com/library/pil/handbook/index.htm>) uses
>> 'import Image' throughout.
> 
> Note that the on-line PIL handbook is from 4.5 years ago.

Is there more recent documentation? Even the version at effbot's site <http://effbot.org/imagingbook/> says 'import Image'. 

Some of the examples in the 1.1.6 distribution seem to have been converted to 'from PIL import Image', but I haven't found a definite source that says which is the prefered style.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20091124/233e0baf/attachment.bin>


More information about the Pythonmac-SIG mailing list