Re: [Tutor] How do I display a picture?

2017-05-18 Thread Michael C
If all PIL does with .show() is to invoke the system default image viewer, why would it pop an empty console window? the existence of this window causes the script to hang, so i have to so far manually close it before the script would continue to run. On Wed, May 17, 2017 at 6:03 PM, Alan Gauld

Re: [Tutor] How do I display a picture?

2017-05-17 Thread Alan Gauld via Tutor
On 18/05/17 00:24, Michael C wrote: > or to find another way to display the picture without using python image > library. There are lots of ways it depends on what you actually want to do with the image. For example you can run your favourite image viewer program(that looks like what PIL is

Re: [Tutor] How do I display a picture?

2017-05-17 Thread Michael C
I use python image library and apparently when I do im = Image.open('1.png') im.show() show() actually opens a empty console window that doesn't do anything and as long as it's around the script hangs. Currently I have to close it by clicking on the close button and it makes my script useless.

Re: [Tutor] How do I display a picture?

2017-05-17 Thread Alan Gauld via Tutor
On 17/05/17 21:33, Michael C wrote: > How do I display a picture? What do you mean? What kind of picture? Where do you want it displayed (what kind of window/screen)? There are a dozen possible ways to "display a picture" depending on what you specifically want. -- Alan G Author of the Learn

[Tutor] How do I display a picture?

2017-05-17 Thread Michael C
Hi all, How do I display a picture? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor