a curious IDLE Error
EP
EP at zomething.com
Thu Jan 22 04:22:11 EST 2004
More information about the Python-list mailing list
Thu Jan 22 04:22:11 EST 2004
- Previous message (by thread): a curious IDLE Error
- Next message (by thread): [Numpy-discussion] Status of Numeric
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 08:02 AM 1/22/2004 +0000, Alan Gauld wrote: >On Wed, 21 Jan 2004 21:50:01 -0800, EP <EP at zomething.com> wrote: > > > I opened a new Python shell from the instance of IDLE editor where my > > module was open and tried the raw_input(): > > > > >>> someFile=raw_input("enter: ") > > Traceback (most recent call last): > > File "<pyshell#36>", line 1, in ? > > someFile=raw_input("enter: ") > > TypeError: 'tuple' object is not callable > > > >This is a long shot but is it possible that you used raw_input as >the name of a variable somewhere. Thus you are trying to call >that variable (which apparently holds a tuple!). > >Try doing a text search for raw_input in your module code. > >Just a thought. I thought it might have been something like that as well, but I checked all my variable names (and I was only importing the string module). The strange behavior was that the module worked, just not in an IDLE shell opened up out of the same instance I created the module in.
- Previous message (by thread): a curious IDLE Error
- Next message (by thread): [Numpy-discussion] Status of Numeric
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list