On Thu, 15 Nov 2012 07:56:17 -0800, Aahz wrote:

> In article <[email protected]>, Roy Smith 
> <[email protected]> wrote:
>>In article <[email protected]>,
>> Dave Angel <[email protected]> wrote:
>>>
>>> I'd also add a print statement, just to assure yourself that it's
>>> running.
>>
>>My trick to make sure something is running is to add "assert 0".
> 
> ``1/0`` is shorter.  ;-)

It is also guaranteed to run, unlike assert.



-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to