View Single Post
  #1 (permalink)  
Old 06-10-2007, 05:21 PM
Chris R
Posts: n/a
[SOLVED] Ending a program in python?

I have two questions about specific commands in python.

When I run my programs in DOS, right after the program is finished, DOS closes- how do I avoid that? is there a command that will keep the window open? a pause of sorts?

The second question is about while loops. I have a while loop imbedded within another while loop. When the inside while loop becomes false, it displays a message- but then continues with the outside loop- what can I do if I just want the program to end when the inside loop is false?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!