tkinter & serial port

Dennis Lee Bieber wlfraed at ix.netcom.com
Sun Sep 29 19:31:56 EDT 2002


 user at domain.invalid fed this fish to the penguins on Sunday 29 
September 2002 02:30 pm:

> 
> How do I do this or its moral equivalent under Python so that it
> runs without modification under both BSD and Windows? The closest

        Jump on Bill Gates a few times so he changes windows to allow any data 
stream in a select() <G>

> that I've been able to figure out is to poll the serial device
> a few times per second. This is ugly, involves overhead and generally
> not up to the standard of Python -- clearly I don't yet 'see the
> light.'
>
        Possibly put the serial device I/O into a separate thread, package up 
the lines, and send them using a socket protocol which you can then use 
with select?

--
 > ============================================================== <
 >   wlfraed at ix.netcom.com  | Wulfraed  Dennis Lee Bieber  KD6MOG <
 >      wulfraed at dm.net     |       Bestiaria Support Staff       <
 > ============================================================== <
 >        Bestiaria Home Page: http://www.beastie.dm.net/         <
 >            Home Page: http://www.dm.net/~wulfraed/             <



More information about the Python-list mailing list