On Mon, Sep 14, 2015 at 9:29 AM, richard kappler wrote:
> everything works except the os.remove(file) which gives the following error:
>
> Traceback (most recent call last):
> File "DataFeedBatch.py", line 104, in
> os.remove(file)
> TypeError: coercing to Unicode:
On Mon, Sep 14, 2015 at 10:29 AM, richard kappler wrote:
> Still working on my data feed script, if you'll recall from previous
> emails, it reads incoming data and creates a name for image files based on
> the incoming data in a test environment. below is a snippet of that
Still working on my data feed script, if you'll recall from previous
emails, it reads incoming data and creates a name for image files based on
the incoming data in a test environment. below is a snippet of that code
that copies the next image in the pool renaming it as it copies, sends to
another
[mailto:tutor-bounces+rohitraj007=gmail@python.org] On
Behalf Of Zachary Ware
Sent: 14 September 2015 20:11
To: tutor
Subject: Re: [Tutor] Type Error
On Mon, Sep 14, 2015 at 9:29 AM, richard kappler <richkapp...@gmail.com>
wrote:
> everything works except the os.remove(file) wh
Dear all,
I tried concatenating string variables with multiple strings and have the
file handle write the statement into a file. I don't know why I always get
the type error: must be string or read-only character buffer, not seq error.
I tried casting the whole new concatenated string using
It's saying one of your variables is not a string. Is one of them a sequence?
Perhaps Mir-seq? If so, you need to come up with a way to build a string from
this object. You can call the str method and pass in your object or you can
explicitly create a string from the data in the object.
Kann Vearasilp wrote:
I tried concatenating string variables with multiple strings and have the
file handle write the statement into a file. I don't know why I always get
the type error: must be string or read-only character buffer, not seq
error. I tried casting the whole new concatenated
Thanks Peter,
That just fixes my problem. : )
Kann
On Tue, Apr 19, 2011 at 5:29 PM, Peter Otten __pete...@web.de wrote:
Kann Vearasilp wrote:
I tried concatenating string variables with multiple strings and have the
file handle write the statement into a file. I don't know why I always get