python file type error

Posted by lakshmipathi on Stack Overflow See other posts from Stack Overflow or by lakshmipathi
Published on 2010-04-13T10:47:01Z Indexed on 2010/04/13 10:52 UTC
Read the original article Hit count: 323

Filed under:
|
|

While testing answer from another thread from this site, Im getting

open("temp","w").write(''.join(data))

TypeError

How to fix this?

© Stack Overflow or respective owner

Related posts about python

Related posts about file