[Tutor] Newbie question

bob bgailer at alum.rpi.edu
Tue Nov 22 22:43:30 CET 2005


At 12:20 PM 11/22/2005, Liam Clarke-Hutchinson wrote:
>Hi Eric,
>
>Either -
>
>add this line to the end of your scripts -
>discard = raw_input("Press enter to finish.")
>
>Or -
>
>Click on Start > Run... type cmd.exe and use DOS to move to the 
>directory where your scripts are stored and run them via Python there.

This is preferred, since any exception traceback will remain visible.

>  It's not trivial when you're starting. :-)
>
>Regards,
>
>Liam Clarke-Hutchinson
>
>-----Original Message-----
>From: tutor-bounces at python.org [mailto:tutor-bounces at python.org] On 
>Behalf Of Douglass, Erik
>Sent: Wednesday, 23 November 2005 3:03 a.m.
>To: tutor at python.org
>Subject: [Tutor] Newbie question
>
>I am trying to follow some online first timer tutorials, and I am 
>writing the practice scripts in notepad (only w32 at work L)..   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.  This may seem trivial, but Python also 
>happens to be my first language so this is all new to me.    Using Python 2.4.2
>
>
>
>Thanks for any help.
>
>
>
>Erik
>
>
>
>A new monthly electronic newsletter covering all aspects of MED's 
>work is now available.  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.  See 
><http://news.business.govt.nz/>http://news.business.govt.nz for more details.
>
>
>
>
>
>
>
>
><http://www.govt.nz/>govt.nz - connecting you to New Zealand central 
>& local government services
>
>
>----------
>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.
>
>----------
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051122/e649ce8d/attachment.htm


More information about the Tutor mailing list