Re: Error when trying to open an image

2014-11-19 Thread Denis McMahon
On Mon, 17 Nov 2014 02:03:01 +0100, Abdul Abdul wrote: Thanks for your kind reply. Yes, it seemed it worked with an older version than 3.x I got the following output: Process finished with exit code 0 So, what is the purpose of open() here? *STOP TOP-POSTING! IT@S GETTING ANNOYING

Error when trying to open an image

2014-11-16 Thread Abdul Abdul
Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from PIL import Image File

Re: Error when trying to open an image

2014-11-16 Thread Gary Herron
On 11/16/2014 11:37 AM, Abdul Abdul wrote: Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from

Re: Error when trying to open an image

2014-11-16 Thread Terry Reedy
On 11/16/2014 2:37 PM, Abdul Abdul wrote: Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from

Re: Error when trying to open an image

2014-11-16 Thread Abdul Abdul
Thanks for your kind reply. Yes, it seemed it worked with an older version than 3.x I got the following output: Process finished with exit code 0 So, what is the purpose of open() here? Thanks. On Mon, Nov 17, 2014 at 12:31 AM, Terry Reedy tjre...@udel.edu wrote: On 11/16/2014 2:37 PM,

Re: Error when trying to open an image

2014-11-16 Thread Ben Finney
Abdul Abdul abdul.s...@gmail.com writes: Thanks for your kind reply. Abdul, please don't top-post. Instead, trim the quoted material just to what you're responding to; then post your responses interleaved URL:https://en.wikipedia.org/wiki/Posting_style#Interleaved_style. I got the following