[Tutor] Need help with running the things I made

Poor Yorick gp@pooryorick.com
Tue Dec 3 00:19:01 2002


--------------040703010300040201070302
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

You can also add a /k switch to the cmd.exe line, as mentioned in:

http://mail.python.org/pipermail/tutor/2001-January/003139.html

poor yorick
gp@pooryorick.com




Kalle Svensson wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>[chipsdw.com Webmaster]
>
>>I'm new here, but I have a question.
>>
>
>Welcome to the list!
>
>>Im a kid so I have made many things to help me with my
>>homework... things like caculators fehrenhiet to celcius converters
>>etc. When I use IDLE to run them they run fine with no bugs, BUT
>>when I just click on them and that cmd prompt looking thing comes
>>up, you type the first number, say 2 then u type the second number
>>say 3, and it is supposed to do 2x3. All I see is a last line of
>>white text that I can't see which I presume is the answer, but once
>>it displays it for a fraction of a second, not enough time to read
>>it, it closes the script since It has nothing more to do. How can I
>>stop this?
>>
>
>One solution is to add a line like
>
>  raw_input("Press enter to close.")
>
>to the end of your program.  This isn't very elegant, but I'm afraid I
>don't know of any better way to fix this.
>
>Peace,
>  Kalle
>- -- 
>Kalle Svensson, http://www.juckapan.org/~kalle/
>Student, root and saint in the Church of Emacs.
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>
>
>iD8DBQE97BJqdNeA1787sd0RAlmxAKDLv2zEfLkCx6i6sdgPa4I175n7+ACggns/
>l3haPRMNf2wtm+EJlzxj7A0=
>=acmz
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>Tutor maillist  -  Tutor@python.org
>http://mail.python.org/mailman/listinfo/tutor
>
>


--------------040703010300040201070302
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
You can also add a /k switch to the cmd.exe line, as mentioned in:<br>
<br>
<a class="moz-txt-link-freetext" href="http://mail.python.org/pipermail/tutor/2001-January/003139.html">http://mail.python.org/pipermail/tutor/2001-January/003139.html</a><br>
<br>
poor yorick<br>
<a class="moz-txt-link-abbreviated" href="mailto:gp@pooryorick.com">gp@pooryorick.com</a><br>
<br>
<br>
<br>
<br>
Kalle Svensson wrote:<br>
<blockquote type="cite" cite="mid:20021203020949.GH18311@i92.ryd.student.liu.se">
  <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>[chipsdw.com Webmaster]<br></pre>
  <blockquote type="cite">
    <pre wrap="">I'm new here, but I have a question.<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>Welcome to the list!<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">Im a kid so I have made many things to help me with my<br>homework... things like caculators fehrenhiet to celcius converters<br>etc. When I use IDLE to run them they run fine with no bugs, BUT<br>when I just click on them and that cmd prompt looking thing comes<br>up, you type the first number, say 2 then u type the second number<br>say 3, and it is supposed to do 2x3. All I see is a last line of<br>white text that I can't see which I presume is the answer, but once<br>it displays it for a fraction of a second, not enough time to read<br>it, it closes the script since It has nothing more to do. How can I<br>stop this?<br></pre>
      </blockquote>
      <pre wrap=""><!----><br>One solution is to add a line like<br><br>  raw_input("Press enter to close.")<br><br>to the end of your program.  This isn't very elegant, but I'm afraid I<br>don't know of any better way to fix this.<br><br>Peace,<br>  Kalle<br>- -- <br>Kalle Svensson, <a class="moz-txt-link-freetext" href="http://www.juckapan.org/~kalle/">http://www.juckapan.org/~kalle/</a><br>Student, root and saint in the Church of Emacs.<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.0.7 (GNU/Linux)<br>Comment: Processed by Mailcrypt 3.5.6 <a class="moz-txt-link-rfc2396E" href="http://mailcrypt.sourceforge.net/">&lt;http://mailcrypt.sourceforge.net/&gt;</a><br><br>iD8DBQE97BJqdNeA1787sd0RAlmxAKDLv2zEfLkCx6i6sdgPa4I175n7+ACggns/<br>l3haPRMNf2wtm+EJlzxj7A0=<br>=acmz<br>-----END PGP SIGNATURE-----<br><br>_______________________________________________<br>Tutor maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Tutor@python.org">Tutor@python.org</a><br><a cla
ss="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a><br><br><br></pre>
      </blockquote>
      <br>
      </body>
      </html>

--------------040703010300040201070302--