<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 12:15 PM, Zachary Ware <span dir="ltr"><<a href="mailto:zachary.ware+pylist@gmail.com" target="_blank">zachary.ware+pylist@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Jun 5, 2013 at 10:35 AM, Armando Montes De Oca<br>
<<a href="mailto:armandomontesdeocaiii@gmail.com">armandomontesdeocaiii@gmail.com</a>> wrote:<br>
> Thank You now the program exits with:<br>
> (program exited with code: 0)<br>
> Press return to continue<br>
><br>
><br>
> Is there a way to get the line (program exited with code: 0) to say something<br>
><br>
> like: "The game will end now"<br>
><br>
> Press return to contine<br>
<br>
</div>To whom are you replying?  Please quote what (and who) you are<br>
replying to to provide context.<br>
<br>
As for how to change that line, it depends on how you're running the script.<br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"></div><div class="gmail_extra">The program exited with code: 0 is being provided by geany after your program has run.<br><br></div><div class="gmail_extra">If instead you open up a terminal and type:<br>
</div><div class="gmail_extra">python your_program.py<br><br></div><div class="gmail_extra">You will run your program and get an error message from python.  You can get rid of the error message by using try/except, but you may not have learned about that yet.<br>
<br>good luck<br></div><div class="gmail_extra">-- <br><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div>
</div></div>