Pyserial again

Grant Edwards grante at visi.com
Tue Mar 7 12:07:01 EST 2006


On 2006-03-07, luca72 <lucaberto at libero.it> wrote:
> Hello Grant and Hello Steve.
>
> Pls. don't kill me, but if you try the code above written you see that
> after the read the port close.
> My question is only: why it close without the close command?

I've answered that question TWICE.

The ser object is getting garbage collected.  That closes the
port.

-- 
Grant Edwards                   grante             Yow!  Yow! Are we laid
                                  at               back yet?
                               visi.com            



More information about the Python-list mailing list