[Tutor] Re: Convert doesn't work... I'm stumped

Javier Ruere javier at ruere.com.ar
Thu Mar 17 06:14:35 CET 2005


Jacob S. wrote:
> I've tried doc string testing with doctest, but I find I can do better just
> using the interactive interpreter.

   Do better? With doctest you protect yourself from future bugs. How 
can you do better just using the interpreter?
   Mr. Johnson has already pointed out how to make doctests.

> (I don't know why. Impatience I guess.
> Maybe I just want to see the answer pop up as I type it I guess...)

   Using the interpreter for testing and exploring is great IMO but 
don't throw away your tests!!

Javier



More information about the Tutor mailing list