On 5 Oct 2006 14:56:54 -0700, Jim <[EMAIL PROTECTED]> wrote: > * You need a DEBUG variable: > from defaults import DEBUG > : > if DEBUG: > ..
WADR, there is a more formal way to do this: http://docs.python.org/ref/assert.html Use -O to remove the assert statements, essentially: -O sets the builtin var __debug__ to False. (BTW, thank you for making a Linear Algebra textbook that an innumerate dolt like myself can almost understand.) -- Theerasak -- http://mail.python.org/mailman/listinfo/python-list