Python Programming/Networks

Sockets
Python can also communicate via sockets.

Connecting to a server
This simple Python program will fetch a 4096 byte HTTP response from Google:

High-level interfaces
Most Python developers will prefer to use a high-level interface over using sockets, such as Twisted and urllib2.