<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=218375621-22112005><FONT 
color=#000000>Ooer,&nbsp;weird&nbsp;keystrokes... my apologies 
Bob.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=218375621-22112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=218375621-22112005><FONT 
face="Times New Roman" color=#000000 size=3>&gt;This is preferred, since any 
exception traceback will remain visible.</FONT><BR></SPAN></FONT><FONT 
face=Arial color=#0000ff size=2><SPAN 
class=218375621-22112005>&nbsp;</SPAN></FONT></DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial size=2>That's a really good 
point... I believe associating a &nbsp;Python batch file using pause 
would&nbsp;allow tracebacks to remain also.</FONT></SPAN></DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial size=2>@echo 
off</FONT></SPAN></DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial size=2>c:\Python24\Python 
%1 %2 %3 %4 %5 %6 %7 %8 %9</FONT></SPAN></DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial 
size=2>pause</FONT></SPAN></DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial size=2>or 
similar...</FONT></SPAN></DIV>
<DIV><SPAN class=218375621-22112005><FONT face=Arial 
size=2><BR>Regards,</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-nz><B><FONT face=Verdana color=#800000 size=2>Liam 
Clarke-Hutchinson</FONT></B></SPAN><SPAN lang=en-nz><FONT face=Verdana 
color=#808080 size=2><BR></FONT><U></U></SPAN><A 
href="http://www.med.govt.nz/"><SPAN lang=en-nz><U><FONT face=Verdana 
color=#0000ff size=2>www.med.govt.nz</FONT></U><U></U></SPAN></A><SPAN 
lang=en-nz><U></U><U></U><FONT face=Arial> </FONT></SPAN></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> bob 
  [mailto:bgailer@alum.rpi.edu] <BR><B>Sent:</B> Wednesday, 23 November 2005 
  10:44 a.m.<BR><B>To:</B> Liam Clarke-Hutchinson; 'Douglass, Erik'; 
  'tutor@python.org'<BR><B>Subject:</B> Re: [Tutor] Newbie 
  question<BR><BR></FONT></DIV>At 12:20 PM 11/22/2005, Liam Clarke-Hutchinson 
  wrote:<BR>
  <BLOCKQUOTE class=cite cite="" type="cite"><FONT color=#0000ff size=2>Hi 
    Eric, <BR></FONT>&nbsp;<BR><FONT color=#0000ff size=2>Either - 
    <BR></FONT>&nbsp;<BR><FONT color=#0000ff size=2>add this line to the end of 
    your scripts -<BR>discard = raw_input("Press enter to 
    finish.")<BR></FONT>&nbsp;<BR><FONT color=#0000ff size=2>Or - 
    <BR></FONT>&nbsp;<BR><FONT color=#0000ff size=2>Click on Start &gt; Run... 
    type cmd.exe and use DOS to move to the directory where your scripts are 
    stored and run them via Python there.</FONT></BLOCKQUOTE><BR><BR>
  <BLOCKQUOTE class=cite cite="" type="cite">&nbsp;<FONT color=#0000ff 
    size=2>It's not trivial when you're starting. :-)</FONT><BR>&nbsp;<BR><FONT 
    color=#0000ff size=2>Regards, <BR></FONT><BR><FONT face=Verdana 
    color=#800000 size=2><B>Liam Clarke-Hutchinson<BR></B></FONT><BR><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
    tutor-bounces@python.org [<A href="mailto:tutor-bounces@python.org" 
    eudora="autourl"> mailto:tutor-bounces@python.org</A>] <B>On Behalf Of 
    </B>Douglass, Erik<BR><B>Sent:</B> Wednesday, 23 November 2005 3:03 
    a.m.<BR><B>To:</B> tutor@python.org<BR><B>Subject:</B> [Tutor] Newbie 
    question<BR><BR></FONT>
    <DL>
      <DD>I am trying to follow some online first timer tutorials, and I am 
      writing the practice scripts in notepad (only w32 at work <FONT 
      face=Wingdings size=2>L</FONT>)..&nbsp;&nbsp; I save the script with a .py 
      extension, and when I run it it opens for a brief moment in a command 
      prompt then closes before I even have a chance to see what it says.&nbsp; 
      This may seem trivial, but Python also happens to be my first language so 
      this is all new to me.&nbsp;&nbsp;&nbsp; Using Python 2.4.2<BR><BR>
      <DD><FONT size=2><BR></FONT><BR>&nbsp; 
      <DD><FONT face="Times New Roman, Times">Thanks for any 
help.<BR></FONT><BR>
      <DD><FONT face="Times New Roman, Times"><BR></FONT><BR>&nbsp; 
      <DD><FONT 
    face="Times New Roman, Times">Erik<BR></FONT><BR></DD></DL>&nbsp;<BR><BR>A 
    new monthly electronic newsletter covering all aspects of MED's work is now 
    available.&nbsp; Subscribers can choose to receive news from any or all of 
    seven categories, free of charge: Growth and Innovation, Strategic 
    Directions, Energy and Resources, Business News, ICT, Consumer Issues and 
    Tourism.&nbsp; See <A 
    href="http://news.business.govt.nz/">http://news.business.govt.nz</A> for 
    more details.<BR></I><BR>&nbsp;<BR><BR>&nbsp;<BR><BR><BR>&nbsp;<BR><FONT 
    color=#808080 size=2>&nbsp; <BR><A href="http://www.govt.nz/">govt.nz</A> - 
    connecting you to New Zealand central &amp; local government 
    services<BR></FONT><BR>
    <HR>
    <FONT color=#808080 size=2>Any opinions expressed in this message are not 
    necessarily those of the Ministry of Economic Development. This message and 
    any files transmitted with it are confidential and solely for the use of the 
    intended recipient. If you are not the intended recipient or the person 
    responsible for delivery to the intended recipient, be advised that you have 
    received this message in error and that any use is strictly prohibited. 
    Please contact the sender and delete the message and any attachment from 
    your computer. <BR>
    <HR>
    </FONT>_______________________________________________<BR>Tutor 
    maillist&nbsp; -&nbsp; Tutor@python.org<BR><A 
    href="http://mail.python.org/mailman/listinfo/tutor" 
    eudora="autourl">http://mail.python.org/mailman/listinfo/tutor</A></BLOCKQUOTE></BLOCKQUOTE>
<P>&nbsp;</P>
<P><EM>A new monthly electronic newsletter covering all aspects of MED's work is 
now available.&nbsp; Subscribers can choose to receive news from any or all of 
seven categories, free of charge: Growth and Innovation, Strategic Directions, 
Energy and Resources, Business News, ICT, Consumer Issues and Tourism.&nbsp; See 
</EM><A 
href="http://news.business.govt.nz/"><EM>http://news.business.govt.nz</EM></A><EM> 
for more details.</EM></P>
<P><EM></EM>&nbsp;</P>
<P>&nbsp;</P>
<P><BR>&nbsp;</P>

<FONT size=2><FONT color=#808080><FONT size=2>&nbsp;
<DIV><A href="http://www.govt.nz/">govt.nz</A>&nbsp;- connecting you to New 
Zealand central &amp; local government services<BR></DIV></FONT></FONT></FONT>
<P><FONT size=2><FONT color=#808080><FONT size=2>
<HR>
Any opinions expressed in this message are not necessarily those of the Ministry 
of Economic Development. This message and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not 
the intended recipient or the person responsible for delivery to the intended 
recipient, be advised that you have received this message in error and that any 
use is strictly prohibited. Please contact the sender and delete the message and 
any attachment from your computer. 
<HR>

<P></P>
<P></P>
<P></FONT></FONT></FONT></P>
</BODY></HTML>