Title: Message
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.
 
It's not trivial when you're starting. :-)
 
Regards,

Liam Clarke-Hutchinson

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglass, Erik
Sent: Wednesday, 23 November 2005 3:03 a.m.
To: tutor@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 for more details.

 

 


 

 
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@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to