Python Fails to Write to File

Ian Kelly ian.g.kelly at gmail.com
Wed Jun 18 19:18:38 EDT 2014


On Wed, Jun 18, 2014 at 5:03 PM, cutey Love <cuteywithlove at gmail.com> wrote:
> I'm trying to write data to a text file
>
> But I'm getting the error:
>
> TypeError: invalid file: <_io.TextIOWrapper

Post the full traceback.  By posting only the error message you're
removing useful information.



More information about the Python-list mailing list