<div class="gmail_quote">On Thu, Nov 4, 2010 at 3:58 AM, Alan Gauld <span dir="ltr"><<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<<a href="mailto:patty@cruzio.com" target="_blank">patty@cruzio.com</a>> wrote<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
of my python program where a picture is supposed to display with a few<br>
lines of text below it.<br>
</blockquote>
<br></div>
To do this you will need to use some kind of GUI.<br>
The simplest option is probably to use the Text widget in Tkinter<br>
which can display both Images and text.</blockquote><div><br></div><div>I'll second the motion. You can probably write the most basic functions in less than 50 lines </div><div><br></div><div><snip></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How do I get any picture to display on half a screen then my print text<br>
display below that and stay on screen for 2 or 3 minutes before I call<br>
another function that will redraw the screen anyway - it will be<br>
interactive text responses with the user. Also this is a test .gif file,<br>
I may want to just edit the source file and change this to a .jpg.<br>
</blockquote>
<br></div>
The Tkinter PhotoImage object can display jpg. I can't recall if<br>
it does gifs. If you want to habndle many types yoyu may need to<br>
look at using an image convertion library too.</blockquote><div><br></div><div>PIL (What you have installed to use the Image library) allows you to convert basically any image to a format you can use in Tkinter. </div><div>
<br></div><div>There is a short example here:</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://stackoverflow.com/questions/1236540/how-do-i-use-pil-with-tkinter">http://stackoverflow.com/questions/1236540/how-do-i-use-pil-with-tkinter</a></div>
<div> </div><div>HTH,</div><div>Wayne</div></div>