On 13/06/06, <b class="gmail_sendername">Mike Hansen</b> <<a href="mailto:mhansen@cso.atmel.com">mhansen@cso.atmel.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>> -----Original Message-----<br>> From: tutor-bounces+mhansen=cso.<span style="font-weight: bold;">atmel</span>.com@<a href="http://python.org">python.org</a></blockquote><div><br> <and now something completely different ...>
<br><br>Wait a minute, is that "atmel" in your e-mail address the one I think of ?<br><a href="http://en.wikipedia.org/wiki/Atmel">http://en.wikipedia.org/wiki/Atmel</a><br><br>If so please thank the AVR gurus for making the best quality/price microcontrollers in the world. I'm an happy user of an atmega8 and Python in this project:
<a href="http://www.liberlab.net/">http://www.liberlab.net/</a><br>If by any chance your going to europython 2006 I'll be glad to show you that. <br><br>I've just been looking at your blog and I've seen the "Perl, the language I love to hate".
<br>Personally I love this little cartoon about Perl :<br><a href="http://mirror5.escomposlinux.org/comic/ecol-13-e.png">http://mirror5.escomposlinux.org/comic/ecol-13-e.png</a><br><br>And if you have Perl working colleges you want to protect from I found this on the web ;)
<br><a href="http://scott.weston.id.au/software/pymissile-20060126/">http://scott.weston.id.au/software/pymissile-20060126/</a><br><br>cheers<br><br>francois<br><br> </and now something completely different ...><br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> [mailto:<a href="mailto:tutor-bounces+mhansen=cso.atmel.com@python.org">tutor-bounces+mhansen=cso.atmel.com@python.org
</a>] On<br>> Behalf Of Andy Koch<br>> Sent: Tuesday, June 13, 2006 8:42 AM<br>> To: <a href="mailto:tutor@python.org">tutor@python.org</a><br>> Subject: [Tutor] die or exit function?<br>><br>> Bkgd: I've been doing PHP for the last several years.
<br>><br>> Q: In PHP there are functions die and exit which terminate<br>> processing of<br>> a script with an optional string output. Is there something<br>> similar to<br>> this in Python?<br>><br>
<br><br>sys.exit("something bad happened")<br><br>Although it's probably better to catch the exception and deal with it and<br>then sys.exit() if need be.<br><br>Mike<br><a href="http://users.adelphia.net/~mahansen/programming/">
http://users.adelphia.net/~mahansen/programming/</a><br><br>_______________________________________________<br>Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor">
http://mail.python.org/mailman/listinfo/tutor</a><br></blockquote></div><br>