Please always use reply all, or reply list when responding to list messages. I think eryksun may have already answered your question, if not give more info about how you run your code.
-------- Original Message -------- Subject: Re: [Tutor] How do I display a picture? From: Michael C <mysecretrobotfact...@gmail.com> To: Alan Gauld <alan.ga...@yahoo.co.uk> CC: tutor@python.org 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. so **i am trying find either a way to prevent that from poping up or to close it automatically somehow or to find another way to display the picture without using python image library. On Wed, May 17, 2017 at 4:13 PM, Alan Gauld via Tutor <[1]tutor@python.org> wrote: 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 to Program web site [2]http://www.alan-g.me.uk/ [3]http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: [4]http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist** -** [5]Tutor@python.org To unsubscribe or change subscription options: [6]https://mail.python.org/mailman/listinfo/tutor References Visible links 1. mailto:tutor@python.org 2. http://www.alan-g.me.uk/ 3. http://www.amazon.com/author/alan_gauld 4. http://www.flickr.com/photos/alangauldphotos 5. mailto:Tutor@python.org 6. https://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor