Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73385

Re: Python Fails to Write to File

References <8aaa4195-af5c-4ba3-a891-b1f268c086ac@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2014-06-18 17:18 -0600
Subject Re: Python Fails to Write to File
Newsgroups comp.lang.python
Message-ID <mailman.11125.1403133566.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jun 18, 2014 at 5:03 PM, cutey Love <cuteywithlove@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Fails to Write to File cutey Love <cuteywithlove@gmail.com> - 2014-06-18 16:03 -0700
  Re: Python Fails to Write to File Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-18 17:18 -0600
  Re: Python Fails to Write to File Paul McNett <paul@mcnettware.com> - 2014-06-18 16:20 -0700
  Re: Python Fails to Write to File cutey Love <cuteywithlove@gmail.com> - 2014-06-19 00:54 -0700
    Re: Python Fails to Write to File Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-19 09:39 +0100

csiph-web