Re: timeit.py examples in docs generate error

2006-03-09 Thread 3c273
"Duncan Booth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Window's command processor doesn't recognise single quote marks as > meaning anything special, so your command is passing 4 separate arguments > to timeit.py instead of the 1 argument that a unix shell would be passing. >

Re: timeit.py examples in docs generate error

2006-03-09 Thread Duncan Booth
3c273 wrote: > I was reading the thread on try/except overhead and decided to try > Alex's examples but they kept generating exceptions. So I went to the > docs and tried the examples there (copied and pasted) with the same > results (Win2k, Python 2.4). Any help is appreciated. The output > follo

timeit.py examples in docs generate error

2006-03-09 Thread 3c273
Hello, I was reading the thread on try/except overhead and decided to try Alex's examples but they kept generating exceptions. So I went to the docs and tried the examples there (copied and pasted) with the same results (Win2k, Python 2.4). Any help is appreciated. The output follows: #1 C:\Python2