[Image-SIG] PIL and Python 3000
jmil at rice.edu
Mon Feb 18 12:22:42 CET 2008
Thanks Carlos! This is a HUGE help. I post back to the list so others
can benefit from your information. Thanks again!!
On Feb 18, 2008, at 5:14 AM, Carlos da Silva Santos wrote:
> Dear Jordan,
> Python 3000 will break compatibility with older releases in many ways.
> It is supposed that the transition from the 2.x series to the 3.x
> series will take a long time. During this period, the 2.x will be
> actively maintained and many features from the 3.x series will be
> backported to 2.x in order to ease the transition. In addition, there
> are automated tools to port code from python 2.x to python 3.x. If you
> write 2.x code in a more "modern" way (for instance, using != instead
> of <>) and follow some guidelines (see
> http://wiki.python.org/moin/FutureProofPython) many of the deprecated
> features are naturally avoided so your code will be more "py3k ready".
> Right now, very few (if any) third part libraries are ported to py3k,
> so you will find yourself in a somewhat restricted environment. So I
> recommend you to stick to the 2.x series for now but keep one eye on
> the changes about to come in py3k.
> As you are targetting in scientific applications, you will probably be
> interested in numpy/scipy/matplotlib which provide python with
> matlab-like features. Take a look specially in scipy.ndimage:
> I hope this helps.
> On Feb 18, 2008 7:53 AM, Jordan Miller <jmil at rice.edu> wrote:
>> I am very interested in learning Python for pixel-based image
>> manipulation for scientific applications, so it looks like PIL will
>> ideal. As I am new to Python, and Python 3000 is going to be released
>> this year with "many deprecated features finally removed", I am
>> considering starting properly with Python 3.0 rather than face a code
>> migration later on.
>> Will PIL play nicely with Python 3.0 alpha 2 (released on December
>> 7th, 2007)?
>> Please reply to me individually because I am not on the mailing list.
>> ok, thanks!
>> Image-SIG maillist - Image-SIG at python.org
More information about the Image-SIG