protocols. These pages address how your Python program can communicate over a network using protocols such as SOAP and TCP/IP as well as platforms such as Zope and Plone.">
  1. Technology
Send to a Friend via Email

Network Programming

While most programming is done with local resources in mind (i.e., your computer), Python is more than able to pull data from the furthest reaches of the globe for whatever purpose you deem necessary. It does this via network protocols. These pages address how your Python program can communicate over a network using protocols such as SOAP and TCP/IP as well as platforms such as Zope and Plone.

Network Boundaries and Python Programming
All but the simplest programs operate in a web-enabled environment. Navigating the (in)security of such an environment is notoriously difficult. This article looks briefly at the state of network security and what it means for Python programmers.

Building an FTP Client in Python
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to interact with FTP servers over an open connection.

Peer-to-Peer Networking: An Overview
One of the more avant-garde forms of network programming is peer-to-peer networking. Here is an introduction to what peer-to-peer entails and what it looks like in general terms.

Networking Basics
If you think a TCP/IP handshake is a fraternity gag or a router is something to add ornamentation to your computer desk, you may want to brush up on your networking knowledge. This page by Bradley Mitchell, About.com's resident guru on computer networking, is sure to help you do that.

Network Protocols That Python Can Speak
While most programming is done with local resources in mind (i.e., your computer), Python is more than able to pull data from the furthest reaches of the globe for whatever purpose you deem necessary. It does this via network protocols. These pages address how your Python program can communicate over a network using protocols such as SOAP and TCP/IP as well as platforms such as Zope and Plone.

Python's socket Module (Part 1)
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Here is the first of three parts.

Python's socket Module (Part 2)
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Here is the second of three parts.

Python's socket Module (Part 3)
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Here is the third of three parts.

Building a Web Client in Python
Network programming is not Python voodoo when you understand the basics of clients and servers. Here is how to build a basic web client in Python.

Building a Simple Web Server in Python
Web servers are an invaluable part of the Internet. But sometimes Apache is over the top for a web service solution. Sometimes all you need is a little program to deliver data upon request. Here is how to build one with Python's socket module.

Building an RSS Reader With Python
An RSS Reader is a straightforward program, and building one ensures that one knows the basics of the language. It also teaches the basics of Python web programming, basic networking protocols, and XML handling. Follow these step-by-step tutorials to build a web-based, customisable RSS Reader.

A Python-Powered Port Scanner
Port scanning is a valuable facility for network programming as well as security testing for your network. Here is how to build a port scanner in Python.

Effbot Chapter on Networking With Python
Admittedly, Python speaks a bevy of protocols, each with its own module. This discussion by Fredrik Lundh offers examples of how to use each of them.

Untwisting Python Network Programming
If you could use a bit more help to see the big picture of network programming, this tutorial may help you. It offers examples of smtplib, poplib and telnetlib from O'Reilly Media.

Fetching Webpages Automagically
If you are interested in downloading webpages automatically using Python, this page will help you. This chapter from "Dive Into Python" offers a step-by-step discussion of how to use httplib, urllib and other modules to download and process webpages with Python.

©2014 About.com. All rights reserved.