On 2008-05-15, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I have a small but rather annoying problem with pyserial. 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.

-- 
Grant Edwards                   grante             Yow! Hmmm ... an arrogant
                                  at               bouquet with a subtle
                               visi.com            suggestion of POLYVINYL
                                                   CHLORIDE ...
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to