Error opening file ! Help, please
Emile van Sebille
emile at fenx.com
Fri Feb 1 19:14:04 EST 2002
"gimar" <ilen712 at libero.it> wrote in message
news:Xns91A9CA356801ilen712l at 193.70.192.103...
> Sometimes when I try to create an output file executing:
>
> f=open('\paul','w')
>
> I receive the following error message:
>
> "TypeError: object of type 'list' is not callable".
>
>
> This has no sense for me. Can you explain me what's happening ?
>
>
Any chance you're assigning to open?
>>> open = [1,2,3]
>>> f=open('\paul','w')
Traceback (most recent call last):
File "<pyshell#16>", line 1, in ?
f=open('\paul','w')
TypeError: 'list' object is not callable
>>>
--
Emile van Sebille
emile at fenx.com
---------
More information about the Python-list
mailing list