Not enough space error?

Cliff Wells clifford.wells at comcast.net
Fri Oct 15 15:06:41 CEST 2004


On Fri, 2004-10-15 at 13:14 +0800, Joe Wong wrote:
> Hi Cliff, No it is not sys.stdin, The script write something to a log
> file every now and then. basically, it does:
>  
> f=open("mylog", "ab")
> f.write(something)
> f.close()

I doubt this is related, but is there some reason you're opening the
file in binary mode?  Log files are usually plain text.

Regards,
Cliff

-- 
Cliff Wells <clifford.wells at comcast.net>




More information about the Python-list mailing list