[Tutor] network - send one line of text

Alan Gauld alan.gauld at btinternet.com
Sat Nov 24 01:13:29 CET 2007

"elis aeris" <hunter92383 at gmail.com> wrote

> a server script to listen for
> a client script, it sends a line of text to server when a given 
> criteria is
> met.
> is this possible to do with python?

Yes its standard socket programming.

Take a look at my tutorial, specifically the Network Programming topic
for more info and an example.

There is also an excellent How-To document for sockets
on the Python web site.


Alan Gauld
Author of the Learn to Program web site

More information about the Tutor mailing list