input/output through socket or COM port

Steve Holden sholden at holdenweb.com
Mon Apr 29 08:57:16 EDT 2002


The "standard reference" to this would be Gordon McMillan's webtorial[1]

have fun
 Steve


[1]    http://www.mcmillan-inc.com/sock1.html
--

Steve Holden: http://www.holdenweb.com/ ; Python Web Programming:
http://pydish.holdenweb.com/pwp/


"Chris Liechti" <cliechti at gmx.net> wrote in message
news:Xns91FEB6CCA14DBcliechtigmxnet at 62.2.16.82...
> Jive Dadson <jdadson at ix.netcom.com> wrote in
> news:3CCB557C.5BDB495E at ix.netcom.com:
>
> > Thanks a lot.  I snarfed the pserial zip file.  Do you know a similar
> > thing for
> > a TCP/IP host?
>
> s = socket.socket(...)
> s.connect(...)
> fi = s.makefile()
>
> --
> Chris <cliechti at gmx.net>
>






More information about the Python-list mailing list