Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #88661

Re: Code critique please

From Robert Kern <robert.kern@gmail.com>
Subject Re: Code critique please
Date 2015-04-08 13:25 +0100
References <53f4c2fd-a20c-4d09-8719-8f3f9b80670b@googlegroups.com> <mg1u8g$199$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.136.1428495917.12925.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-04-08 01:54, Mark Lawrence wrote:
> On 07/04/2015 23:43, kai.peters@gmail.com wrote:
>> I just wrote this bit (coming from Pascal) and am wondering how seasoned
>> Python programmers would have done the same? Anything terribly non-python?
>>
>> As always, thanks for all input.
>>
>> import os, sys
>> from PIL import Image, ImageFont, ImageDraw
>>
>
> As you've had plenty of answers I'll just say that PIL is pretty old now.  Are
> you aware of the fork called Pillow? https://pillow.readthedocs.org/

Pillow uses the name "PIL" for its package name too, in the interest of being 
drop-in compatible.

https://pillow.readthedocs.org/porting-pil-to-pillow.html

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Code critique please kai.peters@gmail.com - 2015-04-07 15:43 -0700
  Re: Code critique please Ian Kelly <ian.g.kelly@gmail.com> - 2015-04-07 17:25 -0600
  Re: Code critique please Chris Kaynor <ckaynor@zindagigames.com> - 2015-04-07 16:38 -0700
  Re: Code critique please Cameron Simpson <cs@zip.com.au> - 2015-04-08 09:49 +1000
  Re: Code critique please kai.peters@gmail.com - 2015-04-07 16:51 -0700
  Re: Code critique please Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-04-08 01:54 +0100
  Re: Code critique please Robert Kern <robert.kern@gmail.com> - 2015-04-08 13:25 +0100
  Re: Code critique please Peter Otten <__peter__@web.de> - 2015-04-09 12:26 +0200

csiph-web