Re: pyserial and file open conflict?
- From: Henrique Dante de Almeida <hdante@xxxxxxxxx>
- Date: Mon, 26 May 2008 18:14:23 -0700 (PDT)
On May 26, 6:54 pm, Peter <p.wallst...@xxxxxxxxx> wrote:
On 23 Maj, 16:13, Grant Edwards <gra...@xxxxxxxx> wrote:
On 2008-05-23, Peter <p.wallst...@xxxxxxxxx> wrote:
On 15 Maj, 19:37, Grant Edwards <gra...@xxxxxxxx> wrote:
On 2008-05-15, p.wallst...@xxxxxxxxx <p.wallst...@xxxxxxxxx> wrote:
I have a small but rather annoying problem withpyserial. I want to
open a file on disk for reading and then open a com-port, write lines
from the file to the port and then read something back and compare it
to the next line in the file. Should be simple. And it is, apart from
the fact that the file seems to be doubled ...? Or it loops through
the file twice.
If I exclude the "import serial" it works.
Any ideas?
Your problem is in line 117 of your program.
Do you have to much time?
"Do you have a sense of irony?" he asked, already knowing the answer.
--
Grant
Grant - "Do you have a sence of appropriateness"? he asked, already
knowing the answer. I had no idea this is a comedy club. I might argue
that my reply was also some sort of humor, but you clearly didn't see
it that way. Maybe you should try living according to the rules you
make for others?
Diez - Did you mean the section which covers Asperger's Syndrome?
I'm just being a hacker here guys ... according to the guidelines.
It's amazing how such a simple question gets derailed immediately.
Without any light on the subject whatsoever.
Try asking about your problem again. Think before writing. Read your
text after you write it. Tell what you are trying to do, how you are
trying to do and what's the buggy behaviour. Copy the relevant part of
your source code here.
.
- References:
- pyserial and file open conflict?
- From: p . wallstedt
- Re: pyserial and file open conflict?
- From: Grant Edwards
- Re: pyserial and file open conflict?
- From: Peter
- Re: pyserial and file open conflict?
- From: Grant Edwards
- Re: pyserial and file open conflict?
- From: Peter
- pyserial and file open conflict?
- Prev by Date: Re: set partition question
- Next by Date: sort list doesnt work, key=str still doesnt work
- Previous by thread: Re: pyserial and file open conflict?
- Next by thread: Problem creating a shorcut
- Index(es):
Relevant Pages
|