<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Slight corrections--in red, caps.<br>
<br>
Wayne Watson wrote:
<blockquote cite="mid:48F2978F.2020603@sbcglobal.net" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
What's more likely <font color="#ff0000">TO</font> run python/Tkinter
with graphics than IDLE? <br>
  <br>
I'm looking at py2exe right now, but that seems useful for a completed
program. On that topic, I noticed that my Start-&gt;All Progs menu item
now, possibly it was there before I installed p2exe, a Python2.4 item
show a&nbsp; Command Line sub-item. <br>
  <br>
I've finally figured out to use the Start-&gt;Run to get at the python
program. <br>
I just tried a slight variation on:<br>
  <pre wrap="">C:\Python24\python \path\to\myprogram.py gets nowhere. Nix this STATEMENT. 
I copied the program int c:\pytho24. I don't seem to be able to copy the window, so I see pretty much what I had before, except it adds:
Fatal Pyton error: Pystring_InterInPlace: strings only please! The rest is about the run time error.

  </pre>
  <br>
Kent Johnson wrote:
  <blockquote
 cite="mid:1c2a2c590810120617n51035318se66ca986b3e4d72a@mail.gmail.com"
 type="cite">
    <pre wrap="">On Sun, Oct 12, 2008 at 7:56 AM, Wayne Watson
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:sierra_mtnview@sbcglobal.net">&lt;sierra_mtnview@sbcglobal.net&gt;</a> wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">The terminal window flashed briefly, and apparently never got to the
finish() def, which should keep the window open, but long enough to see
there's nothing in it. The program came directly from the MatPlotLib web
page. Another one died in a similar way. I put finish() after the plot line
and it died the same way. Same if I put it before plot. Same before arrange.
Dies same way with only the import line. There must be something wrong with
the matplot module install?
    </pre>
    </blockquote>
    <pre wrap=""><!---->
When Alan says to run the program from a terminal window, he means,
- open terminal
- type the command to run your program - something like
  </pre>
    <blockquote type="cite">
      <pre wrap="">C:\Python24\python \path\to\myprogram.py
    </pre>
    </blockquote>
    <pre wrap=""><!---->
This is different from just double-clicking the program, the terminal
window will stay open.

You could also open a terminal window and just run Python, then type
or paste the pylab commands into the interpreter. I.e., run terminal,
then type
  </pre>
    <blockquote type="cite">
      <pre wrap="">\Python24\python
    </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">from pylab import *
        </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap=""><!---->
etc.

IIUC it is a bad idea to run a Tkinter program from IDLE, it can get a
bit confused. That may be the reason for your original error.

Kent

  </pre>
  </blockquote>
  <br>
  <div class="moz-signature">-- <br>
  <meta content="text/html;" http-equiv="Content-Type">
  <title>Signature.html</title>
  <pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099">            </font>
        "Things are going to get a lot worse befoe they get worse."
                    -- Lily Tomlin
            
                    Web Page: &lt;<a moz-do-not-send="true"
 class="moz-txt-link-abbreviated"
 href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>&gt;</pre>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Tutor maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Tutor@python.org">Tutor@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099">            </font>
        "Things are going to get a lot worse befoe they get worse."
                    -- Lily Tomlin
            
                    Web Page: &lt;<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>&gt;</pre>
</div>
</body>
</html>