Skip Montanaro skip at pobox.com
Sat Jan 31 16:48:17 CET 2004

    Duncan> This is possibly a stupid question, but I need to get this
    Duncan> working quickly, and I guess I'm just too tired / pressured to
    Duncan> see what I'm doing wrong.  

Import the subtract module in a setup arg to your Timer() constructor:

    tim = timeit.Timer(setup-'import subtract', stmt=s)


More information about the Python-list mailing list