[Tutor] Fwd: Re: How do I display a picture?
Alan G
alan.gauld at yahoo.co.uk
Wed May 17 19:38:41 EDT 2017
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 <mysecretrobotfactory at gmail.com>
To: Alan Gauld <alan.gauld at yahoo.co.uk>
CC: tutor at 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 at 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 at python.org
To unsubscribe or change subscription options:
[6]https://mail.python.org/mailman/listinfo/tutor
References
Visible links
1. mailto:tutor at 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 at python.org
6. https://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list