At 02:17 AM 4/18/2008, Sander Sweers wrote: >On Fri, Apr 18, 2008 at 4:49 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > > Got it, I think. <http://py77.python.pastebin.com/f61a3c84f> > >Here is a my somewhat simplified version of your daysDelta script. It >uses less variables but I am not sure if it is faster? >http://py77.python.pastebin.com/m14e4010
Thanks for the improvement. >One thing you might want to do is look at catching wrong input. For >example when you enter nodate instead of 4/10/2008 it will raise a >ValueError. I'll give a hint, look at try and except. Yes, I know how to do that, and will. Dick ================================ UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor