CGI Tutorial

hanumizzle hanumizzle at gmail.com
Fri Oct 6 00:43:04 EDT 2006


On 5 Oct 2006 14:56:54 -0700, Jim <jhefferon at smcvt.edu> 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



More information about the Python-list mailing list