Re: odd runtime error

2010-12-01 Thread Cameron Simpson
On 01Dec2010 17:27, David Brown wrote: | Thanks for the clarification No worries. | I like the idea of wrapping all the | primary code in the script to a main function then calling it if its | being called by main. I find that useful too. I've got a few modules-that-implement-commands that look

Re: odd runtime error

2010-12-01 Thread David Brown
On Wed, Dec 1, 2010 at 5:19 PM, Cameron Simpson wrote: > On 01Dec2010 16:49, David Brown wrote: > | So I'm not subscribed to python-list but would like to get an answer > | to my question. I've made a small test program that dumps a > | RuntimeError and I'd like to know why. > | > | $ python test

Re: odd runtime error

2010-12-01 Thread Cameron Simpson
On 01Dec2010 16:49, David Brown wrote: | So I'm not subscribed to python-list but would like to get an answer | to my question. I've made a small test program that dumps a | RuntimeError and I'd like to know why. | | $ python test2.py | doing stuff | Traceback (most recent call last): | File "t

Re: odd runtime error

2010-12-01 Thread James Mills
On Thu, Dec 2, 2010 at 10:59 AM, Chris Rebert wrote: > On Wed, Dec 1, 2010 at 4:49 PM, David Brown wrote: >> So I'm not subscribed to python-list but would like to get an answer >> to my question. I've made a small test program that dumps a >> RuntimeError and I'd like to know why. >> >> $ python

Re: odd runtime error

2010-12-01 Thread David Brown
On Wed, Dec 1, 2010 at 4:59 PM, Chris Rebert wrote: > On Wed, Dec 1, 2010 at 4:49 PM, David Brown wrote: >> So I'm not subscribed to python-list but would like to get an answer >> to my question. I've made a small test program that dumps a >> RuntimeError and I'd like to know why. >> >> $ python

Re: odd runtime error

2010-12-01 Thread Chris Rebert
On Wed, Dec 1, 2010 at 4:49 PM, David Brown wrote: > So I'm not subscribed to python-list but would like to get an answer > to my question. I've made a small test program that dumps a > RuntimeError and I'd like to know why. > > $ python test2.py > doing stuff > Traceback (most recent call last):

odd runtime error

2010-12-01 Thread David Brown
So I'm not subscribed to python-list but would like to get an answer to my question. I've made a small test program that dumps a RuntimeError and I'd like to know why. $ python test2.py doing stuff Traceback (most recent call last): File "test2.py", line 3, in import test RuntimeError: not